pause timer reset

This commit is contained in:
tenplus1 2023-04-26 09:53:07 +01:00
parent eb6bc6e349
commit 6af671997b
1 changed files with 2 additions and 1 deletions

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