Skip to content

Commit

Permalink
fix TeamCardController for watchers/observers
Browse files Browse the repository at this point in the history
  • Loading branch information
Axle1975 committed Dec 5, 2020
1 parent c9fce90 commit fcc550a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public void setPlayersInTeam(String team, List<Player> playerList, Function<Play
}

String teamTitle;
if ("1".equals(team) || "-1".equals(team)) {
if ("1".equals(team)) {
teamTitle = i18n.get("game.tooltip.teamTitleNoTeam");
} else if ("null".equals(team)) {
} else if ("-1".equals(team)) {
teamTitle = i18n.get("game.tooltip.observers");
} else {
teamTitle = i18n.get("game.tooltip.teamTitle", Integer.valueOf(team) - 1, totalRating);
Expand Down

0 comments on commit fcc550a

Please sign in to comment.