Skip to content

Commit

Permalink
tlabel_settings: Use side_name instead of current_player
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 23, 2016
1 parent 36eba6e commit c7f8e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/label_settings.cpp
Expand Up @@ -59,7 +59,7 @@ tlabel_settings::tlabel_settings(display_context& dc) : viewer(dc) {
labels_display[label_cat_key] = "";
continue;
}
std::string team_name = team.current_player();
std::string team_name = team.side_name();
if(team_name.empty()) {
team_name = team.user_team_name();
}
Expand Down

0 comments on commit c7f8e52

Please sign in to comment.