1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-14 14:30:19 +01:00

pause timer reset

This commit is contained in:
tenplus1 2023-04-26 09:53:07 +01:00
parent eb6bc6e349
commit 6af671997b

View File

@ -3455,8 +3455,9 @@ function mob_class:on_step(dtime, moveresult)
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_animation("stand", true)
end