game: fix new game button in pause menu

This commit is contained in:
2025-08-19 14:31:09 +02:00
parent 0f0b537921
commit a9ad276846
2 changed files with 3 additions and 1 deletions

View File

@@ -28,4 +28,5 @@ func _on_exit_button_pressed() -> void:
func _on_new_game_btuton_pressed() -> void:
pass # Replace with function body.
var new_scene = load("res://scenes/main.tscn")
get_tree().change_scene_to_packed(new_scene)