diff --git a/environment_manager.gd b/environment_manager.gd index 8242bf3..bcc84aa 100644 --- a/environment_manager.gd +++ b/environment_manager.gd @@ -95,6 +95,8 @@ func _on_web_client_tcp_received_play_winner_request() -> void: if not $"../HBoxContainer/GameUI"._is_host: return + await get_tree().create_timer(1.5).timeout + var card_ids: Array[int] = [] card_ids.assign(_plays.map(func(p: Play): return p.card_id)) var winning_card_id: int = CardManager.get_winning_card(card_ids, _trump_id) diff --git a/export_presets.cfg b/export_presets.cfg index 50f20e1..5089b63 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -51,7 +51,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="../00 Exports/magician/20250705/index.html" +export_path="../Exports/magician/20250718/index.html" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" diff --git a/game.tscn b/game.tscn index d688290..860515c 100644 --- a/game.tscn +++ b/game.tscn @@ -77,7 +77,7 @@ layout_mode = 2 [node name="URLInput" type="LineEdit" parent="HBoxContainer/ClientInterface/MarginContainer/VBoxContainer/ServerInputs"] layout_mode = 2 -text = "127.0.0.1:9974" +text = "wss://denizk0461.dev/magsrv/" placeholder_text = "URL" [node name="ConnectButton" type="Button" parent="HBoxContainer/ClientInterface/MarginContainer/VBoxContainer/ServerInputs"]