mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 17:55:54 +00:00
Use proper scene load function in all cases
This commit is contained in:
parent
7acc344986
commit
c5ed30f458
5 changed files with 12 additions and 5 deletions
|
|
@ -31,7 +31,8 @@ public partial class MainMenu : Control
|
|||
private void _on_start_button_pressed()
|
||||
{
|
||||
if (GameScene != null) {
|
||||
GetTree().ChangeSceneToFile(GameScene);
|
||||
GlobalState.Instance.GotoScene(GameScene);
|
||||
//GetTree().ChangeSceneToFile(GameScene);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue