fixed some things

This commit is contained in:
2025-07-20 19:26:50 +02:00
parent 9b8390cfb3
commit 66287ee8a0
9 changed files with 87 additions and 49 deletions
+4 -2
View File
@@ -198,11 +198,12 @@ class LobbyManager:
)
async def request_bet(self, lobby_id, client_id, disallowed_bet) -> None:
await self.send_message(
await self.broadcast_message(
lobby_id,
client_id,
# client_id,
json.dumps({
"response": "request_bet",
"client_id": client_id,
"disallowed_bet": disallowed_bet,
"round": self.get_lobby(lobby_id).current_round,
})
@@ -451,6 +452,7 @@ async def process_input(message: str, websocket) -> None:
lobby_id,
json.dumps({
"response": "begin_next_play",
"playing_order": lobby_manager.get_lobby(lobby_id).current_playing_order,
}),
)
await lobby_manager.send_message(