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:
parent
221029e857
commit
71e620eb0f
2
api.lua
2
api.lua
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user