aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu.gd
diff options
context:
space:
mode:
author ClarkeCode <33846391+ClarkeCode@users.noreply.github.com>2023-02-13 17:04:22 +0100
committer GitHub <noreply@github.com>2023-02-13 17:04:22 +0100
commit6a0158e625eaffbae0f214620a1d728728934033 (patch)
treec3af6ac753b8b3c177d1e9a41e94017c1c2afbd0 /game/src/MainMenu.gd
parentc0d8a4ac3723021c95da9674c3bc0eea511ee3a0 (diff)
parenta4f213bf923b79674b8dcef4c35f0f79329ffc80 (diff)
Merge pull request #8 from OpenVic2Project/dev-trailblazing-cpp
Exploration of uniting Godot UI with Stateful C++ Objects via GDExtension
Diffstat (limited to 'game/src/MainMenu.gd')
-rw-r--r--game/src/MainMenu.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/src/MainMenu.gd b/game/src/MainMenu.gd
index a5c6198..de49ec4 100644
--- a/game/src/MainMenu.gd
+++ b/game/src/MainMenu.gd
@@ -10,6 +10,7 @@ func _ready():
func _on_new_game_button_pressed():
print("Start a new game!")
+ get_tree().change_scene_to_file("res://src/SampleGame.tscn")
func _on_continue_button_pressed():