mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Adjust spacing in animation.lua
This commit is contained in:
parent
f38492bcb0
commit
024cf46307
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
local math_pi = math.pi
|
||||
local math_sin = math.sin
|
||||
local math_cos = math.cos
|
||||
|
||||
-- set defined animation
|
||||
mobs.set_animation = function(self, anim, fixed_frame)
|
||||
|
||||
if not self.animation or not anim then
|
||||
return
|
||||
end
|
||||
|
||||
if self.state == "die" and anim ~= "die" and anim ~= "stand" then
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue