mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 10:50:21 +01:00
pause timer reset
This commit is contained in:
parent
eb6bc6e349
commit
6af671997b
3
api.lua
3
api.lua
@ -3455,8 +3455,9 @@ function mob_class:on_step(dtime, moveresult)
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
elseif self.order == "stand" then
|
elseif self.pause_timer < 0 and self.order == "stand" then
|
||||||
|
|
||||||
|
self.pause_timer = 0
|
||||||
self:set_velocity(0)
|
self:set_velocity(0)
|
||||||
self:set_animation("stand", true)
|
self:set_animation("stand", true)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user