players can now only select cards during their turn

This commit is contained in:
2025-07-18 14:17:44 +02:00
parent aef7778a4b
commit 06652ff910
4 changed files with 15 additions and 2 deletions
+2
View File
@@ -7,6 +7,7 @@ extends Node
@export var bet_container: Control
@export var bet_input: LineEdit
@export var round_label: Label
@export var player_hand: PlayerHand
var _is_host: bool = false
var _current_player_count: int = 0
@@ -96,6 +97,7 @@ func _on_player_hand_0_card_played(card_id: int) -> void:
func _on_web_client_tcp_notify_play_card_request() -> void:
$Label.show()
player_hand.allow_clicking_cards()
func _on_web_client_tcp_received_win() -> void:
$WinLabel.show()