From f3b8669ed57611cc91aead47ab20e1109655b1fb Mon Sep 17 00:00:00 2001 From: John Cote Date: Sat, 11 Jan 2020 01:05:30 -0500 Subject: [PATCH] coghq: fix another cj crash --- toontown/suit/DistributedLawbotBossAI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/suit/DistributedLawbotBossAI.py b/toontown/suit/DistributedLawbotBossAI.py index d8cab7a..3814324 100644 --- a/toontown/suit/DistributedLawbotBossAI.py +++ b/toontown/suit/DistributedLawbotBossAI.py @@ -513,7 +513,7 @@ class DistributedLawbotBossAI(DistributedBossCogAI.DistributedBossCogAI, FSM.FSM toonLevel = toon.getNumPromotions(self.dept) totalCogSuitLevels += toonLevel totalNumToons += 1 - if toon.cogLevels > highestCogSuitLevel: + if toonLevel > highestCogSuitLevel: highestCogSuitLevel = toonLevel if not totalNumToons: