Finally fixed the scoreboard I think.
This commit is contained in:
parent
b6afb5450e
commit
67d2315cef
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user