fix syntax crash

This commit is contained in:
epCode 2022-10-13 16:59:32 -07:00
parent b27c81cea4
commit 27ac333878

View file

@ -2049,7 +2049,7 @@ local monster_attack = function(self)
player = obj.object
name = obj.name or ""
end
if obj.type = self.type and obj.passive == false and obj.state == "attack" and obj.attack then
if obj.type == self.type and obj.passive == false and obj.state == "attack" and obj.attack then
table.insert(blacklist_attack, obj.attack)
end
end