From 2d76fdd6fd30d7fd5263ebe481c32c618daee056 Mon Sep 17 00:00:00 2001 From: Julian Lemmerich <41118534+JM-Lemmi@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:47:38 +0100 Subject: [PATCH] fix(server): unready in lobby --- Server/websocket_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/websocket_server.py b/Server/websocket_server.py index 0c09701..63a2e51 100644 --- a/Server/websocket_server.py +++ b/Server/websocket_server.py @@ -64,7 +64,7 @@ async def handler(self, websocket): case "lobby/ready": - self._players[message_json["player_uuid"]].ready = True + self._players[message_json["player_uuid"]].ready = message_json["ready"] websockets.broadcast(self._connections, json.dumps({ "message_type": "lobby/status",