su
This commit is contained in:
@@ -146,6 +146,6 @@ class GameState:
|
||||
for player in self.playerList:
|
||||
if player.hasHighscore:
|
||||
with open(config.HIGHSCORE_FILE, "w+") as file:
|
||||
file.write(str(player.score))
|
||||
file.write(str(player.points))
|
||||
file.close()
|
||||
self.highscore = player.score
|
||||
self.highscore = player.points
|
||||
Reference in New Issue
Block a user