mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 03:03:47 +00:00
Debug menu items spawn buttons
This commit is contained in:
parent
6bf12a021f
commit
4c58436a74
9 changed files with 216 additions and 33 deletions
|
|
@ -358,7 +358,10 @@ public partial class Hud : CanvasLayer
|
|||
menu.MenuClosed += () =>
|
||||
{
|
||||
DebugMenuHolder.Visible = false;
|
||||
SpawnPauseMenu();
|
||||
if (GameManager.Instance.GameState is GameState.Paused)
|
||||
{
|
||||
SpawnPauseMenu();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue