1
0
Fork 0

Fix leftover local do_attack call

csm-enabled
cora 2022-11-11 19:20:20 +01:00
parent 2b691dea07
commit 90321ee578
1 changed files with 1 additions and 1 deletions

View File

@ -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.state = ""
do_attack(self, self.attack)
self:do_attack(self.attack)
-- no path found, try something else
if not self.path.way then