Update controls.py

main
Irina Ternovaja 2024-01-29 10:02:55 +00:00
parent 19089824f9
commit 66c81fe557
1 changed files with 111 additions and 111 deletions

View File

@ -101,7 +101,7 @@ def high_score_check(stats, scores):
if stats.score >= stats.high_score:
stats.high_score = stats.score
scores.image_high_score()
with open("highscore.txt", "w") as f:
with open("highscores.txt", "w") as f:
f.write(str(stats.high_score))