And this...

This commit is contained in:
2025-09-28 15:31:42 -07:00
parent 2919aa025f
commit 2a9e16aeaf

View File

@@ -46,6 +46,7 @@ public class IconMarketplaceManager : MonoBehaviour
normalPanel.SetActive(true); normalPanel.SetActive(true);
downloadPanel.SetActive(false); downloadPanel.SetActive(false);
uploadPanel.SetActive(false); uploadPanel.SetActive(false);
if (DiscordRPCHandler.Instance != null) DiscordRPCHandler.Instance.UpdateRPC("Choosing what to do in the icon marketplace", null);
break; break;
case 1: case 1:
foreach (Transform item in downloadPanelScript.content.transform) foreach (Transform item in downloadPanelScript.content.transform)
@@ -59,12 +60,14 @@ public class IconMarketplaceManager : MonoBehaviour
downloadPanel.SetActive(true); downloadPanel.SetActive(true);
uploadPanel.SetActive(false); uploadPanel.SetActive(false);
downloadPanelScript.Load(); downloadPanelScript.Load();
if (DiscordRPCHandler.Instance != null) DiscordRPCHandler.Instance.UpdateRPC("Browsing the icon marketplace", "They have " + Tools.FormatWithCommas(BazookaManager.Instance.GetCustomBirdIconData().Balance) + " coins");
break; break;
case 2: case 2:
uploadPanelScript.Reset(); uploadPanelScript.Reset();
normalPanel.SetActive(false); normalPanel.SetActive(false);
downloadPanel.SetActive(false); downloadPanel.SetActive(false);
uploadPanel.SetActive(true); uploadPanel.SetActive(true);
if (DiscordRPCHandler.Instance != null) DiscordRPCHandler.Instance.UpdateRPC("Uploading an icon to the icon marketplace", null);
break; break;
} }
} }