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:
parent
918b1ad8dc
commit
6fc339d021
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue