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
1 changed files with 1 additions and 1 deletions

View File

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