Skip to content

Commit

Permalink
Merge pull request #12 from TINF21CS1/TTTK-78
Browse files Browse the repository at this point in the history
fix(server): unready in lobby
  • Loading branch information
HOOK-Hawkins authored Mar 14, 2024
2 parents e0a13e3 + 2d76fdd commit 36bc0d3
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 36bc0d3

Please sign in to comment.