Make custom mode level 5 or higher

This commit is contained in:
2026-02-11 17:50:23 -07:00
parent f1f6d0b80d
commit d855773d61

View File

@@ -213,6 +213,12 @@ public class PlayMenu : MonoBehaviour
{
if (DiscordRPCHandler.Instance != null)
DiscordRPCHandler.Instance.UpdateRPC("Picking what mode they want to play", "");
if (Tools.GetLevelInfo().level < 5)
{
customButton.interactable = false;
customButton.transform.GetChild(0).GetComponent<TMP_Text>().text += "\n<size=12>You need level 5 or higher to access this</size>";
}
}
void ValidateTotal()