Skip to content

Commit

Permalink
fix(server): unready in lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
JM-Lemmi committed Mar 14, 2024
1 parent e0a13e3 commit 2d76fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/websocket_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2d76fdd

Please sign in to comment.