LEADERBOARD!!


In the first day of release, the leaderboard did not work.

This was because when you clicked submit, the game pretended you quit to the main menu, and when you quit to the main menu your score is cleared, your gas is reset to 100, along with some other stuff. But, I added this score clearing very late (last 20 minutes or so), because I noticed you kept it across rounds. Here's the thing however, the code looked like this:

ui.quitToMain();

ui.enterSubMenu(leaderboardmenu);

StartCoroutine(SubmitScoreRoutine(Mathf.RoundToInt(variables.score)));

The problem was, the game cleared your score BEFORE it was submitted, and LootLocker cant accept a score of 0, so you just wouldnt show up on the leaderboard.

But, on the second day I was given permission to upload a fixed build that moved that one line of code to after the score is submitted.

I will note that with my crappy fix may still clear your score if it fails to submit in the first place, but it would be unfair for me to make an edit I was not given permission to do.

Leave a comment

Log in with itch.io to leave a comment.