parent
bb5d3078d9
commit
85eca5a970
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ std::string get_pango_color_from_id(const std::string& id)
|
|||
{
|
||||
const auto color = game_config::team_rgb_colors.find(id);
|
||||
if(color != game_config::team_rgb_colors.end()) {
|
||||
return color_t::from_rgba_bytes(color->second[0]).to_hex_string();
|
||||
return color_t::from_argb_bytes(color->second[0]).to_hex_string();
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
@ -850,7 +850,7 @@ std::string team::get_side_color_index(int side)
|
|||
|
||||
std::string team::get_side_highlight_pango(int side)
|
||||
{
|
||||
return color_t::from_rgba_bytes(get_side_color_range(side + 1).mid()).to_hex_string();
|
||||
return color_t::from_argb_bytes(get_side_color_range(side + 1).mid()).to_hex_string();
|
||||
}
|
||||
|
||||
void team::log_recruitable() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue