1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-01-09 17:30:21 +01:00

revert kb change

This commit is contained in:
tenplus1 2023-10-12 08:23:41 +01:00
parent 221029e857
commit 71e620eb0f

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