Format scripts

This commit is contained in:
2025-09-11 20:59:11 -07:00
parent ff2acc233e
commit bd1b02236b
10 changed files with 30 additions and 21 deletions

View File

@@ -206,18 +206,18 @@ public class IconMarketplaceDownloadIcon : MonoBehaviour
btnText.text = "Claimed";
}
}
else
{
btn.onClick.AddListener(() => HandlePurchase(entry, btn, localUserID));
if (localUserID != entry.CreatorUserID)
{
btnText.text = "Purchase";
}
else
{
btn.onClick.AddListener(() => HandlePurchase(entry, btn, localUserID));
if (localUserID != entry.CreatorUserID)
{
btnText.text = "Purchase";
}
else
{
btnText.text = "Claim";
}
btnText.text = "Claim";
}
}
newIcon.SetActive(true);
}