From 67d2315cefd59af805e50bb35c060db7d7e981f3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 29 Aug 2020 22:11:06 -0400 Subject: [PATCH] Finally fixed the scoreboard I think. --- libstormgames.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstormgames.py b/libstormgames.py index ed84171..a3597e8 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -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.