loose menu

This commit is contained in:
Rendo 2025-06-29 01:15:45 +05:00
commit a6f817efbc
17 changed files with 369 additions and 52 deletions

View file

@ -21,8 +21,7 @@ public partial class PauseMenu : Control
}
public void Exit()
{
GetNode<AudioStreamPlayer>("Audio").Play();
GetNode<AudioStreamPlayer>("Audio").Finished += () => { GetTree().Quit(); };
GetTree().Quit();
}
public static void Pause()
{