fix double "then"
This commit is contained in:
parent
dceb3e54e2
commit
3281701b65
2
api.lua
2
api.lua
@ -441,7 +441,7 @@ function object_fly_2(entity, dtime, speed, accel, decell, shoots, arrow, moving
|
|||||||
--lib_mount animation
|
--lib_mount animation
|
||||||
local velo = entity.object:getvelocity()
|
local velo = entity.object:getvelocity()
|
||||||
if velo.x == 0 and velo.y == 0 and velo.z == 0 then
|
if velo.x == 0 and velo.y == 0 and velo.z == 0 then
|
||||||
if stand_anim and stand_anim ~= nil then then
|
if stand_anim and stand_anim ~= nil then
|
||||||
self.object:set_animation(entity, stand_anim)
|
self.object:set_animation(entity, stand_anim)
|
||||||
end
|
end
|
||||||
entity.object:setpos(entity.object:getpos())
|
entity.object:setpos(entity.object:getpos())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user