Finally fixed the scoreboard I think.

This commit is contained in:
Storm Dragon 2020-08-29 22:11:06 -04:00
parent b6afb5450e
commit 67d2315cef

View File

@ -83,6 +83,9 @@ class scoreboard():
# Update the scores
for i, j in enumerate(self.oldScores):
if self.score > j:
# Move the old high score down the list
if i < 10:
self.oldScores[i + 1] = j
self.oldScores[i] = self.score
break
# Update the scoreboard section of the games config file.