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:
kno10 2025-01-07 16:14:02 +01:00 committed by the-real-herowl
parent 3c0f45c231
commit 288bdf18b4

View file

@ -164,7 +164,7 @@ end
function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname)
local name = player:get_player_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)
if not player_visible[name] then
textures = table.copy(textures)