1
0
Fork 0

mobs:fix typo in homing function

This commit is contained in:
bakawun 2023-12-14 16:50:23 +01:00
parent bc101314df
commit cee5bbc206
1 changed files with 1 additions and 1 deletions

View File

@ -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