From 127b03c2be3fb40d3a5fc35e6dc41e07e488ec00 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Thu, 22 Jan 2026 22:56:29 -0700 Subject: [PATCH] Another issue but with upload panel --- Assets/Scripts/IconMarketplace/IconMarketplaceManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/IconMarketplace/IconMarketplaceManager.cs b/Assets/Scripts/IconMarketplace/IconMarketplaceManager.cs index da41108..7e87f6d 100644 --- a/Assets/Scripts/IconMarketplace/IconMarketplaceManager.cs +++ b/Assets/Scripts/IconMarketplace/IconMarketplaceManager.cs @@ -1,3 +1,4 @@ +using SimpleFileBrowser; using TMPro; using UnityEngine; using UnityEngine.InputSystem; @@ -76,6 +77,7 @@ public class IconMarketplaceManager : MonoBehaviour if (Keyboard.current.escapeKey.wasPressedThisFrame) { if (downloadPanelScript.optionsPanel.activeSelf) downloadPanelScript.optionsPanelSubmitButton.onClick.Invoke(); + else if (uploadPanel.activeSelf && FileBrowser.IsOpen) return; else if (downloadPanel.activeSelf || uploadPanel.activeSelf) SwitchPanel(0); else await SceneManager.LoadSceneAsync("MainMenu"); }