mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
mobs:fix typo in homing function
This commit is contained in:
parent
bc101314df
commit
cee5bbc206
@ -437,7 +437,7 @@ function mcl_mobs.register_arrow(name, def)
|
||||
self.object:set_velocity(vector.direction(self.object:get_pos(), p) * self.velocity)
|
||||
end
|
||||
else
|
||||
self.target = nil
|
||||
self._target = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user