dub
This commit is contained in:
@@ -115,3 +115,5 @@ class GameState:
|
|||||||
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(player.score)
|
||||||
|
file.flush()
|
||||||
|
file.close()
|
||||||
Reference in New Issue
Block a user