🚚 Main menu now routes to poc.tscn

main
Ervan Lefevre 2 years ago
parent 27523b5a9b
commit 54bf676493
  1. 2
      scenes/main_menu.tscn
  2. 2
      scripts/ui/change_scene_button.gd

@ -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

@ -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)

Loading…
Cancel
Save