Reverted back to using time as a secondary score for infinity runner as well as fixing a bug that would send you to infinity runner on retry

This commit is contained in:
Gregory Campbell
2020-02-08 20:06:38 -05:00
parent 374fcf2334
commit d2a08dea19
3 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ public class HighScore : MonoBehaviour
InfinityScoreText.text = "HIGH SCORE: " + "\n" + PlayerPrefs.GetInt("RunnerHighFloor")
+ "-" + PlayerPrefs.GetInt("RunnerHighLevel");
InfinityTimeText.text = "HIGH SCORE DISTANCE: " + "\n" + Mathf.Round(PlayerPrefs.GetFloat("RunnerHighDistance"));
InfinityTimeText.text = "HIGH SCORE TIME: " + "\n" + Mathf.Round(PlayerPrefs.GetFloat("RunnerHighTime"));
}
}