diff --git a/scenes/main_menu.tscn b/scenes/main_menu.tscn index 4d5f24d..b4676fe 100644 --- a/scenes/main_menu.tscn +++ b/scenes/main_menu.tscn @@ -35,7 +35,7 @@ offset_right = 1279.0 offset_bottom = 853.0 text = "Play" script = ExtResource("1_2rx5y") -TARGET_SCENE = "res://scenes/main_menu.tscn" +TARGET_SCENE = "res://scenes/poc.tscn" [node name="quit" type="Button" parent="."] layout_mode = 0 diff --git a/scripts/ui/change_scene_button.gd b/scripts/ui/change_scene_button.gd index 2915cd7..0e78368 100644 --- a/scripts/ui/change_scene_button.gd +++ b/scripts/ui/change_scene_button.gd @@ -5,4 +5,4 @@ class_name SceneChanger func _pressed(): print("Changing scene to: " + TARGET_SCENE) - get_tree().change_scene(TARGET_SCENE) + get_tree().change_scene_to_file(TARGET_SCENE)