wtf
This commit is contained in:
@@ -46,12 +46,12 @@ class GameState:
|
||||
if highestScorePlayer.points < player.points:
|
||||
highestScorePlayer = player
|
||||
|
||||
|
||||
if highestScorePlayer:
|
||||
self.highscore = highestScorePlayer.points
|
||||
for player in self.playerList:
|
||||
player.hasHighscore = False
|
||||
highestScorePlayer.hasHighscore = True
|
||||
logging.info("New Highscore from Player" + str(highestScorePlayer.id))
|
||||
|
||||
def startGame(self, playerCount):
|
||||
self.isStarted = True
|
||||
|
||||
Reference in New Issue
Block a user