doppelmann
This commit is contained in:
@@ -124,7 +124,7 @@ class GameState:
|
||||
self._currentPlayer = player
|
||||
|
||||
def writeHighscore(self):
|
||||
for player in self.playersList:
|
||||
for player in self.playerList:
|
||||
if player.hasHighscore:
|
||||
with open(config.HIGHSCORE_FILE, "w+") as file:
|
||||
file.writelines([str(player.score)])
|
||||
|
||||
Reference in New Issue
Block a user