fixes
This commit is contained in:
@@ -54,7 +54,7 @@ async def simulate_matchmaking(num_players: int = 6):
|
||||
elif p not in matches[p.match_id]:
|
||||
matches[p.match_id].append(p)
|
||||
# print(f'player = {p.label} for match = {p.match_id}')
|
||||
print(f'players = {len(matches[p.match_id])} for match = {p.match_id}')
|
||||
# print(f'players = {len(matches[p.match_id])} for match = {p.match_id}')
|
||||
|
||||
# stop early if all assigned
|
||||
if sum(len(v) for v in matches.values()) >= num_players:
|
||||
|
||||
Reference in New Issue
Block a user