mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 10:05:53 +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
|
|
@ -47,6 +47,7 @@ public partial class PauseMenu : Control
|
|||
|
||||
private void QuitButtonOnPressed()
|
||||
{
|
||||
GetTree().ChangeSceneToFile(MainMenuScene);
|
||||
GlobalState.Instance.GotoScene(MainMenuScene);
|
||||
//GetTree().ChangeSceneToFile(MainMenuScene);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue