From 984058ce3297b79802836b7197e2a201800aa2e7 Mon Sep 17 00:00:00 2001 From: Little Cat Date: Tue, 20 Dec 2022 01:58:47 -0400 Subject: [PATCH] cogdominium: Fix Maze Game. --- toontown/cogdominium/DistCogdoMazeGameAI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toontown/cogdominium/DistCogdoMazeGameAI.py b/toontown/cogdominium/DistCogdoMazeGameAI.py index 3e06ac0..7932723 100644 --- a/toontown/cogdominium/DistCogdoMazeGameAI.py +++ b/toontown/cogdominium/DistCogdoMazeGameAI.py @@ -242,7 +242,7 @@ class DistCogdoMazeGameAI(DistCogdoGameAI, DistCogdoMazeGameBase): self.logSuspiciousEvent(senderId, 'CogdoMazeGameAI.requestSuitHitByGag outside of Game state') return False - if suitType not in Globals.SuitTypes: + if suitType not in list(Globals.SuitTypes): self.logSuspiciousEvent(senderId, 'CogdoMazeGameAI.requestSuitHitByGag: invalid suit type %s' % suitType) return False @@ -269,7 +269,7 @@ class DistCogdoMazeGameAI(DistCogdoGameAI, DistCogdoMazeGameBase): self.logSuspiciousEvent(senderId, 'CogdoMazeGameAI.requestHitBySuit outside of Game state') return False - if suitType not in Globals.SuitTypes: + if suitType not in list(Globals.SuitTypes): self.logSuspiciousEvent(senderId, 'CogdoMazeGameAI.requestHitBySuit: invalid suit type %s' % suitType) return False