players can now only select cards during their turn
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user