server now rotates through playing order every round and lets the winning player go first

This commit is contained in:
2025-07-20 18:30:51 +02:00
parent 5e54ce45e7
commit 9b8390cfb3
4 changed files with 57 additions and 35 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func _handle_response(response: String) -> void:
# Relay message to be displayed in the chat panel
chat_panel.put_chat_message(data["client_name"], data["message"])
"new_round_started":
"round_started":
if data["current_round"] == 1:
var playing_order: Array[String] = []
playing_order.assign(data["playing_order"])