coghq: fix another ceo crash
This commit is contained in:
parent
db42556289
commit
c393377ae4
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ class DistributedBossbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FS
|
||||||
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