mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Fix leftover local do_attack call
This commit is contained in:
parent
2b691dea07
commit
90321ee578
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue