diff --git a/wicked_quest.py b/wicked_quest.py index f437fb4..0448d88 100644 --- a/wicked_quest.py +++ b/wicked_quest.py @@ -103,7 +103,7 @@ class WickedQuest: if keys[pygame.K_h]: speak(f"{player.get_health()} health of {player.get_max_health()}") if keys[pygame.K_i]: - speak(f"Level {self.currentLevel.levelId}, {self.currentLevel.levelName}. {player.get_health()} health of {player.get_max_health()}. {self.currentLevel.levelScore} points on this level so far. {player.get_lives()} lives remaining.") + speak(f"Level {self.currentLevel.levelId}, {self.currentLevel.levelName}. {player.get_health()} health of {player.get_max_health()}. {int(self.currentLevel.levelScore)} points on this level so far. {player.get_lives()} lives remaining.") if keys[pygame.K_l]: speak(f"{player.get_lives()} lives") if keys[pygame.K_j]: # Check jack o'lanterns @@ -150,7 +150,7 @@ class WickedQuest: if key != 'Total time': # Skip time since we already displayed it report.append(f"{key}: {self.currentLevel.player.stats.get_level_stat(key)}") - report.append(f"Score: {self.currentLevel.levelScore}") + report.append(f"Score: {int(self.currentLevel.levelScore)}") # Stop all sounds and music then play fanfare try: