1
0
Fork 0

Adjust spacing in animation.lua

mineclone5
jordan4ibanez 2021-04-16 11:52:29 -04:00
parent f38492bcb0
commit 024cf46307
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
local math_pi = math.pi local math_pi = math.pi
local math_sin = math.sin
local math_cos = math.cos
-- set defined animation -- set defined animation
mobs.set_animation = function(self, anim, fixed_frame) mobs.set_animation = function(self, anim, fixed_frame)
if not self.animation or not anim then if not self.animation or not anim then
return return
end end
if self.state == "die" and anim ~= "die" and anim ~= "stand" then if self.state == "die" and anim ~= "die" and anim ~= "stand" then
return return
end end