MP Lobby: kept the titles of reloaded games with vacant slots yellow

This commit is contained in:
Charles Dang 2018-05-05 14:00:21 +11:00
parent 7983b283ce
commit 717578b8a3

View file

@ -428,7 +428,7 @@ std::map<std::string, string_map> mp_lobby::make_game_row_data(const mp::game_in
{"era_name", game.era}
});
item["label"] = game.vacant_slots > 0 ? colorize(game.name, font::GOOD_COLOR) : game.name;
item["label"] = game.vacant_slots > 0 ? colorize(game.name, color_string) : game.name;
data.emplace("name", item);
item["label"] = colorize("<i>" + scenario_text + "</i>", font::GRAY_COLOR);