mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-11 01:29:36 +01:00
mobs:fix typo in homing function
This commit is contained in:
parent
bc101314df
commit
cee5bbc206
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue