forked from VoxeLibre/VoxeLibre
Fix non hostile mobs staring at player after damage
This commit is contained in:
parent
e5a090168f
commit
7eee604074
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue