uff
This commit is contained in:
@@ -31,7 +31,7 @@ class GameFactory:
|
|||||||
PLAYER_LAMPS.activateNext()
|
PLAYER_LAMPS.activateNext()
|
||||||
|
|
||||||
def getHighScore(self):
|
def getHighScore(self):
|
||||||
with open(config.HIGHSCORE_FILE, "r+") as file:
|
with open(config.HIGHSCORE_FILE, "w+") as file:
|
||||||
score_str = file.readline()
|
score_str = file.readline()
|
||||||
|
|
||||||
if score_str == "":
|
if score_str == "":
|
||||||
|
|||||||
Reference in New Issue
Block a user