mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03: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