Better formatting

This commit is contained in:
juliancoffee
2021-09-04 20:56:55 +03:00
parent 3cf9d0cdb0
commit 670e29a286
2 changed files with 4 additions and 2 deletions

View File

@ -3152,7 +3152,7 @@ fn handle_battlemode(
let elapsed = time - last_change;
if elapsed < COOLDOWN {
let msg = format!(
"Cooldown period active. Try again in {} second",
"Cooldown period active. Try again in {:.0} seconds",
COOLDOWN - elapsed,
);
return Err(msg);