mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-25 00:11:07 +01:00
Always use standing animation in player formspec (#4686)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4686 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: kno10 <kno10@noreply.git.minetest.land> Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
This commit is contained in:
parent
3c0f45c231
commit
288bdf18b4
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ end
|
||||||
function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname)
|
function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
local model = player_model[name]
|
local model = player_model[name]
|
||||||
local anim = models[model].animations[player_anim[name]]
|
local anim = models[model].animations["stand"]
|
||||||
local textures = get_player_textures(name)
|
local textures = get_player_textures(name)
|
||||||
if not player_visible[name] then
|
if not player_visible[name] then
|
||||||
textures = table.copy(textures)
|
textures = table.copy(textures)
|
||||||
|
|
Loading…
Reference in a new issue