From c393377ae442659f06c42d5c1ebd5225a4a41173 Mon Sep 17 00:00:00 2001 From: John Cote Date: Tue, 14 Jan 2020 01:25:51 -0500 Subject: [PATCH] coghq: fix another ceo crash --- toontown/suit/DistributedBossbotBossAI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/suit/DistributedBossbotBossAI.py b/toontown/suit/DistributedBossbotBossAI.py index cd9a6a2..0469b41 100644 --- a/toontown/suit/DistributedBossbotBossAI.py +++ b/toontown/suit/DistributedBossbotBossAI.py @@ -717,7 +717,7 @@ class DistributedBossbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FS toonLevel = toon.getNumPromotions(self.dept) totalCogSuitLevels += toonLevel totalNumToons += 1 - if toon.cogLevels > highestCogSuitLevel: + if toonLevel > highestCogSuitLevel: highestCogSuitLevel = toonLevel if not totalNumToons: