Fix a bug where you get stuck in options menu
This commit is contained in:
@@ -45,10 +45,10 @@ public class IconMarketplaceDownloadIcon : MonoBehaviour
|
|||||||
optionsButton.onClick.AddListener(() => optionsPanel.SetActive(true));
|
optionsButton.onClick.AddListener(() => optionsPanel.SetActive(true));
|
||||||
optionsPanelSubmitButton.onClick.AddListener(() =>
|
optionsPanelSubmitButton.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
|
optionsPanel.SetActive(false);
|
||||||
if (anyChanges)
|
if (anyChanges)
|
||||||
{
|
{
|
||||||
anyChanges = false;
|
anyChanges = false;
|
||||||
optionsPanel.SetActive(false);
|
|
||||||
GetIcons();
|
GetIcons();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user