diff --git a/src/ui/scenes/training_room.gd b/src/ui/scenes/training_room.gd index f1d3d6e..dda6325 100644 --- a/src/ui/scenes/training_room.gd +++ b/src/ui/scenes/training_room.gd @@ -9,10 +9,10 @@ var controller: TrainingController @onready var status_label: Label = $StatusLabel func _ready() -> void: - play_button.pressed.connect(_on_play_pressed) - pass_button.pressed.connect(_on_pass_pressed) - hint_button.pressed.connect(_on_hint_pressed) - start_training() + play_button.pressed.connect(_on_play_pressed) + pass_button.pressed.connect(_on_pass_pressed) + hint_button.pressed.connect(_on_hint_pressed) + start_training() func start_training() -> void: controller = TrainingController.new() @@ -70,5 +70,5 @@ func _on_game_ended(winner_team: int, reason: String) -> void: if hand_area: hand_area.disable_input() func _refresh_ui() -> void: - if controller and controller.game_state and hand_area: - hand_area.update_hand(controller.game_state.get_hand(0)) + if controller and controller.game_state and hand_area: + hand_area.update_hand(controller.game_state.get_hand(0))