Fix non hostile mobs staring at player after damage

This commit is contained in:
epCode 2022-06-09 09:46:27 -07:00
parent e5a090168f
commit 7eee604074
1 changed files with 1 additions and 1 deletions

View File

@ -3670,7 +3670,7 @@ local mob_step = function(self, dtime)
end
end
if self.attack then
if self.attack and self.type == "monster" then
self._locked_object = self.attack
end