coghq: fix another cj crash
This commit is contained in:
parent
747fff520c
commit
f3b8669ed5
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ class DistributedLawbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM
|
||||||
toonLevel = toon.getNumPromotions(self.dept)
|
toonLevel = toon.getNumPromotions(self.dept)
|
||||||
totalCogSuitLevels += toonLevel
|
totalCogSuitLevels += toonLevel
|
||||||
totalNumToons += 1
|
totalNumToons += 1
|
||||||
if toon.cogLevels > highestCogSuitLevel:
|
if toonLevel > highestCogSuitLevel:
|
||||||
highestCogSuitLevel = toonLevel
|
highestCogSuitLevel = toonLevel
|
||||||
|
|
||||||
if not totalNumToons:
|
if not totalNumToons:
|
||||||
|
|
Loading…
Reference in a new issue