mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Better formatting
This commit is contained in:
parent
3cf9d0cdb0
commit
670e29a286
@ -330,7 +330,9 @@ impl ChatCommand {
|
||||
vec!["pvp".to_owned(), "pve".to_owned()],
|
||||
Optional,
|
||||
)],
|
||||
"Set your battle mode to pvp (player vs player) or pve (player vs environment).\n\
|
||||
"Set your battle mode to:\n\
|
||||
* pvp (player vs player)\n\
|
||||
* pve (player vs environment).\n\
|
||||
If called without arguments will show current battle mode.",
|
||||
None,
|
||||
),
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user