ui: Give Countdown Timer the same icon as Clock

Better than no icon in my opinion. Would be nice to have a different one
anyhow.
This commit is contained in:
Iris Morelle 2021-03-18 16:56:06 -03:00
parent 918b1ad8dc
commit 6fc339d021

View file

@ -1628,7 +1628,12 @@ REPORT_GENERATOR(report_countdown, rc)
sec = sec % 60;
if (sec < 10) str << '0';
str << sec << end;
return text_report(str.str(), _("Turn Countdown") + "\n\n" + _("Countdown until your turn automatically ends."));
config report;
add_image(report, game_config::images::time_icon, "");
add_text(report, str.str(), _("Turn Countdown") + "\n\n" + _("Countdown until your turn automatically ends."));
return report;
}
void reports::register_generator(const std::string &name, reports::generator *g)