Fix leftover local do_attack call
This commit is contained in:
parent
2b691dea07
commit
90321ee578
|
@ -183,7 +183,7 @@ function mob_class:smart_mobs(s, p, dist, dtime)
|
||||||
self.path.way = minetest.find_path(s, p1, 16, jumpheight, dropheight, "A*_noprefetch")
|
self.path.way = minetest.find_path(s, p1, 16, jumpheight, dropheight, "A*_noprefetch")
|
||||||
|
|
||||||
self.state = ""
|
self.state = ""
|
||||||
do_attack(self, self.attack)
|
self:do_attack(self.attack)
|
||||||
|
|
||||||
-- no path found, try something else
|
-- no path found, try something else
|
||||||
if not self.path.way then
|
if not self.path.way then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user