This commit is contained in:
Zach 2015-05-30 07:56:05 -05:00
parent 097ea4942f
commit 81e104a80a

View file

@ -113,8 +113,8 @@ class DistributedLobbyManagerAI(DistributedObjectAI):
for lobbyId in self.pubLobbyInfo: for lobbyId in self.pubLobbyInfo:
lobby = self.pubLobbyInfo[lobbyId] lobby = self.pubLobbyInfo[lobbyId]
toons = lobby.get('numToons', 0) toons = lobby.get('numToons', 0)
if toons > 255: if toons > 8:
toons = 255 toons = 8
elif toons < 0: elif toons < 0:
toons = 0 toons = 0
p.append([lobby['shardId'], lobby['zoneId'], toons, lobby.get('hostName', '')]) p.append([lobby['shardId'], lobby['zoneId'], toons, lobby.get('hostName', '')])