Ticket #3143: 3143_lobby_data_v2.6_lobby_bot_v2.patch
File 3143_lobby_data_v2.6_lobby_bot_v2.patch, 997 bytes (added by , 8 years ago) |
---|
-
source/tools/XpartaMuPP/XpartaMuPP.py
301 301 if JID in self.gameList: 302 302 if self.gameList[JID]['nbp-init'] > data['nbp']: 303 303 logging.debug("change game (%s) state from %s to %s", JID, self.gameList[JID]['state'], 'waiting') 304 self.gameList[JID]['nbp'] = data['nbp']305 304 self.gameList[JID]['state'] = 'waiting' 306 305 else: 307 306 logging.debug("change game (%s) state from %s to %s", JID, self.gameList[JID]['state'], 'running') 308 self.gameList[JID]['nbp'] = data['nbp']309 307 self.gameList[JID]['state'] = 'running' 308 self.gameList[JID]['nbp'] = data['nbp'] 309 self.gameList[JID]['players'] = data['players'] 310 310 311 311 ## Class which manages different game reports from clients ## 312 312 ## and calls leaderboard functions as appropriate. ##