Skip to content

Commit

Permalink
Do not apply player id trick in Mercenaries
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Oct 21, 2021
1 parent 547754d commit a03b1a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hslog/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def _guess_player_entity_id(self, name: str) -> Optional[PlayerReference]:
if (
len(self._players_by_name) == 1 and
name != UNKNOWN_HUMAN_PLAYER and
self._game_type != GameType.GT_BATTLEGROUNDS
self._game_type != GameType.GT_BATTLEGROUNDS and
is_mercenaries_game_type(self._game_type)
):
# Maybe we can figure the name out right there and then.

Expand Down

0 comments on commit a03b1a5

Please sign in to comment.