Fix wrong formatting to "Vote Delay Minutes" when delay above 60s (#1009)
Fixes #1007
This commit is contained in:
parent
15a7faeafd
commit
6addc5c8dd
@ -405,7 +405,7 @@ bool TestVoteDelay(int client)
|
||||
{
|
||||
if (delay > 60)
|
||||
{
|
||||
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60);
|
||||
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -324,7 +324,7 @@ bool TestVoteDelay(int client)
|
||||
{
|
||||
if (delay > 60)
|
||||
{
|
||||
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60);
|
||||
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user