mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 22:11:10 +01:00
Fix do_jump call in combat.lua
This commit is contained in:
parent
4909ef6ff7
commit
a3415647d4
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ function mob_class:smart_mobs(s, p, dist, dtime)
|
||||||
-- will try again in 2 seconds
|
-- will try again in 2 seconds
|
||||||
self.path.stuck_timer = stuck_timeout - 2
|
self.path.stuck_timer = stuck_timeout - 2
|
||||||
elseif s.y < p1.y and (not self.fly) then
|
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
|
self.path.following = true
|
||||||
-- Yay, I found path!
|
-- Yay, I found path!
|
||||||
-- TODO: Implement war_cry sound without being annoying
|
-- TODO: Implement war_cry sound without being annoying
|
||||||
|
|
Loading…
Reference in a new issue