mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Pause support in pause menu
This commit is contained in:
parent
6a2802281c
commit
7b8c75ea0f
3 changed files with 8 additions and 1 deletions
|
|
@ -41,6 +41,10 @@ public partial class DebugMenu : Control
|
|||
|
||||
private void ButtonOnPressed(DebugMapSelectResource scene)
|
||||
{
|
||||
if (GameManager.Instance is not null)
|
||||
{
|
||||
GameManager.Instance.Unpause();
|
||||
}
|
||||
GlobalState.Instance.GoToScene(scene.Path, scene.StartData);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue