Network remove roominfo players (#661)

This commit is contained in:
Fabian Dill
2022-06-17 03:34:50 +02:00
committed by GitHub
parent 74fe03414c
commit 247f674749
3 changed files with 6 additions and 6 deletions

View File

@@ -630,6 +630,7 @@ async def on_client_connected(ctx: Context, client: Client):
await ctx.send_msgs(client, [{
'cmd': 'RoomInfo',
'password': bool(ctx.password),
# TODO remove around 0.4
'players': players,
# TODO convert to list of games present in 0.4
'games': [ctx.games[x] for x in range(1, len(ctx.games) + 1)],