Skip to content

Commit

Permalink
Added badge to main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesenibbles123 committed Dec 24, 2020
1 parent 69017eb commit 045c5e0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions customEliteBadges/mainClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@ void setMainmenu()

try
{
int.TryParse(mm.mainMenuPres.ToString(), out int prestige);
log(prestige.ToString());
int prestige = íëåäòéðåïîé.åêìóëîñçîèì(íëåäòéðåïîé.îðííçñòêîåï);
if (prestige >= 10)
{
int.TryParse(mm.mainMenuLevel.ToString(), out int level);
log(level.ToString());
int level = ScoreHandler.ðïíîîðèéóíä(íëåäòéðåïîé.åêìóëîñçîèì(íëåäòéðåïîé.ìòêïíçëóïèí), íëåäòéðåïîé.åêìóëîñçîèì(íëåäòéðåïîé.îðííçñòêîåï));
int index = ~levels.BinarySearch(level);
if (customBadges.TryGetValue(levels[index - 1], out Texture2D newBadgeTexture))
{
Expand Down

0 comments on commit 045c5e0

Please sign in to comment.