mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
255 > 8
This commit is contained in:
parent
097ea4942f
commit
81e104a80a
1 changed files with 2 additions and 2 deletions
|
@ -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', '')])
|
||||||
|
|
Loading…
Reference in a new issue