Fix a bug where you get stuck in options menu

This commit is contained in:
2025-08-27 21:40:57 -07:00
parent d62ea4d09b
commit 42c1d2d48c

View File

@@ -45,10 +45,10 @@ public class IconMarketplaceDownloadIcon : MonoBehaviour
optionsButton.onClick.AddListener(() => optionsPanel.SetActive(true));
optionsPanelSubmitButton.onClick.AddListener(() =>
{
optionsPanel.SetActive(false);
if (anyChanges)
{
anyChanges = false;
optionsPanel.SetActive(false);
GetIcons();
}
});