mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
show team_name in the status window if user_team_name is not set
This commit is contained in:
parent
4dd534ce5a
commit
17f441d3de
@ -584,7 +584,8 @@ private:
|
||||
}
|
||||
str << COLUMN_SEPARATOR << team::get_side_highlight(n)
|
||||
<< teams_[n].current_player() << COLUMN_SEPARATOR
|
||||
<< data.teamname << COLUMN_SEPARATOR;
|
||||
<< (data.teamname.empty() ? teams_[n].team_name() : data.teamname)
|
||||
<< COLUMN_SEPARATOR;
|
||||
|
||||
if(!known && !game_config::debug) {
|
||||
// We don't spare more info (only name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user