played card stack now is purged after every play

This commit is contained in:
2025-09-30 12:56:12 +01:00
parent 2a31f4d59c
commit 494fc2ef1a
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -159,3 +159,7 @@ func _on_web_client_notify_player_turn(client_id: String, is_self: bool) -> void
_current_turn_client_id = client_id
if _current_turn_client_id:
hand_associations[_current_turn_client_id].set_turn(true, is_self)
func _on_web_client_reset_first_card() -> void:
# clear stack of played cards
card_stack.purge_cards()