Allow mobs to still fall when out of range

This commit is contained in:
cora 2022-10-16 11:28:21 +02:00
parent 88aa59670a
commit a745075143
1 changed files with 1 additions and 0 deletions

View File

@ -3875,6 +3875,7 @@ local mob_step = function(self, dtime)
if not player_in_active_range(self) then
set_animation(self, "stand", true)
self.object:set_velocity(vector.new(0,0,0))
falling(self, pos)
return
end
check_item_pickup(self)