Update controls.py
parent
19089824f9
commit
66c81fe557
|
@ -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))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue