0
0
Fork 0

Fix do_jump call in combat.lua

This commit is contained in:
cora 2022-11-12 00:30:18 +01:00
parent 4909ef6ff7
commit a3415647d4
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ function mob_class:smart_mobs(s, p, dist, dtime)
-- will try again in 2 seconds
self.path.stuck_timer = stuck_timeout - 2
elseif s.y < p1.y and (not self.fly) then
do_jump(self) --add jump to pathfinding
self:do_jump() --add jump to pathfinding
self.path.following = true
-- Yay, I found path!
-- TODO: Implement war_cry sound without being annoying