revert kb change

This commit is contained in:
tenplus1 2023-10-12 08:23:41 +01:00
parent 221029e857
commit 71e620eb0f
1 changed files with 1 additions and 1 deletions

View File

@ -3423,7 +3423,7 @@ function mob_class:on_step(dtime, moveresult)
-- check and stop if standing at cliff and fear of heights
self.at_cliff = self:is_at_cliff()
if self.pause_timer <= 0 or self.at_cliff then
if self.pause_timer <= 0 and self.at_cliff then
self:set_velocity(0)
end