mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-24 03:21:05 +01:00
Always use standing animation in player formspec
See <https://codeberg.org/mineclonia/mineclonia/pulls/2093>
This commit is contained in:
parent
fd6cac5f0c
commit
3c00777fb7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,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