Skip to content

Commit

Permalink
FAForever#663 - Phantom games report format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsanbagwan committed Sep 29, 2020
1 parent 1e72a29 commit d8266e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/gameconnection.py
Expand Up @@ -293,7 +293,7 @@ async def handle_game_result(self, army, result):
army = int(army)
result = str(result).lower()
try:
label, score = result.split(" ")
label, score = result.split(" ")[-2:]
await self.game.add_result(self.player.id, army, label, int(score))
except (KeyError, ValueError): # pragma: no cover
self._logger.warning("Invalid result for %s reported: %s", army, result)
Expand Down

0 comments on commit d8266e0

Please sign in to comment.