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