Fix wrong var name for mob table

This commit is contained in:
cora 2022-11-25 04:36:10 +01:00
parent 624092ddd3
commit 3b368fdd5a

View file

@ -324,7 +324,7 @@ mcl_events.register_event("raid",{
--without this check it would sort out the unloaded mob entities and --without this check it would sort out the unloaded mob entities and
--think the raid is defeated. --think the raid is defeated.
check_mobs(self) check_mobs(self)
return self.stage >= self.max_stage and #m < 1 return self.stage >= self.max_stage and #self.mobs < 1
end, end,
on_complete = function(self) on_complete = function(self)
awards.unlock(self.player,"mcl:hero_of_the_village") awards.unlock(self.player,"mcl:hero_of_the_village")