Follow gui.population_in_label setting when showing rating in town label
This commit is contained in:
@@ -125,7 +125,7 @@ struct Town : TownPool::PoolItem<&_town_pool> {
|
||||
*/
|
||||
inline StringID Label() const{
|
||||
if (!(_game_mode == GM_EDITOR) && (_local_company < MAX_COMPANIES)) {
|
||||
return STR_VIEWPORT_TOWN_POP_VERY_POOR_RATING + this->town_label;
|
||||
return (_settings_client.gui.population_in_label ? STR_VIEWPORT_TOWN_POP_VERY_POOR_RATING : STR_VIEWPORT_TOWN_VERY_POOR_RATING) + this->town_label;
|
||||
} else {
|
||||
return _settings_client.gui.population_in_label ? STR_VIEWPORT_TOWN_POP : STR_VIEWPORT_TOWN;
|
||||
}
|
||||
|
Reference in New Issue
Block a user