quests: Default values if the keys don't exist in the cogDict.
This commit is contained in:
parent
0eed59b01f
commit
acf6e700ad
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ class SkeleReviveQBase:
|
|||
return TTLocalizer.v2CogP
|
||||
|
||||
def doesCogCount(self, avId, cogDict, zoneId, avList):
|
||||
return cogDict['hasRevives'] and avId in cogDict['activeToons'] and self.isLocationMatch(zoneId)
|
||||
return cogDict.get('hasRevives', False) and avId in cogDict.get('activeToons', []) and self.isLocationMatch(zoneId)
|
||||
|
||||
|
||||
class SkeleReviveQuest(CogQuest, SkeleReviveQBase):
|
||||
|
|
Loading…
Reference in a new issue