diff --git a/src/logic-scenes/card_picker/card_picker.tscn b/src/logic-scenes/card_picker/card_picker.tscn index 852126e..548d53a 100644 --- a/src/logic-scenes/card_picker/card_picker.tscn +++ b/src/logic-scenes/card_picker/card_picker.tscn @@ -1741,15 +1741,14 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -mouse_filter = 0 +mouse_filter = 2 script = ExtResource("1_pjntm") -current_scene_id = 0 [node name="Control" type="Control" parent="."] +visible = false layout_mode = 2 [node name="label" type="Label" parent="Control"] -visible = false layout_mode = 0 offset_left = -359.0 offset_top = -256.0 diff --git a/src/singletons/main/main.gd b/src/singletons/main/main.gd index d3e0bb5..4a24c39 100644 --- a/src/singletons/main/main.gd +++ b/src/singletons/main/main.gd @@ -101,18 +101,3 @@ func _load_room(next_path: String) -> bool: push_error("Failed to load room.") break return false - - -func _unhandled_input(event: InputEvent) -> void: - if event is InputEvent: - match app_state: - AppState.BOOT: - pass - AppState.MENU: - pass - AppState.PLAY: - if event.is_action_pressed("ui_menu"): - app_state = AppState.PAUSE - AppState.PAUSE: - if event.is_action_pressed("ui_menu"): - app_state = AppState.PLAY