Merge branch 'develop' into enhancement/remove-pandac-pandamodules
This commit is contained in:
commit
034be51fab
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue