fix main menu logic
Marco Andronaco andronacomarco@gmail.com
Wed, 15 Apr 2020 15:35:08 +0200
1 files changed,
3 insertions(+),
3 deletions(-)
M
Assets/Scripts/Menu/MenuManager.cs
→
Assets/Scripts/Menu/MenuManager.cs
@@ -43,9 +43,9 @@ }
public void LoadGame() { + hideAllPanels(); if(currentPanel == Panel.Load) { - hideAllPanels(); currentPanel = Panel.None; } else {@@ -63,9 +63,9 @@ }
public void Credits() { + hideAllPanels(); if (currentPanel == Panel.Credits) { - hideAllPanels(); currentPanel = Panel.None; } else@@ -77,9 +77,9 @@ }
public void Settings() { + hideAllPanels(); if (currentPanel == Panel.Settings) { - hideAllPanels(); currentPanel = Panel.None; } else