fixed breaking nill check (#51)
Co-authored-by: dutchie032 <dutchie032>
This commit is contained in:
committed by
GitHub
co-authored by
dutchie032 <dutchie032>
parent
b17883b15b
commit
4c59f55dea
Binary file not shown.
@@ -205,6 +205,10 @@ function CapBase:CheckAndScheduleCAP()
|
||||
countPerStage[supposedZone] = 0
|
||||
end
|
||||
|
||||
if requiredPerStage[supposedZone] == nil then
|
||||
requiredPerStage[supposedZone] = 0
|
||||
end
|
||||
|
||||
if countPerStage[supposedZone] < requiredPerStage[supposedZone] then
|
||||
local triggerZone = self.database:GetCapZoneForZoneID(supposedZone)
|
||||
if triggerZone then
|
||||
|
||||
Reference in New Issue
Block a user