Fixed amb1924 - Nextmap command now checks if end of map voting is enabled
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402441
This commit is contained in:
parent
e52e3c4639
commit
95aca7b61b
@ -148,7 +148,7 @@ public Action:Command_Nextmap(client, args)
|
||||
|
||||
if(GetConVarInt(g_Cvar_TriggerShow))
|
||||
{
|
||||
if (mapchooser && !HasEndOfMapVoteFinished())
|
||||
if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
|
||||
{
|
||||
PrintToChatAll("[SM] %t", "Pending Vote");
|
||||
}
|
||||
@ -159,7 +159,7 @@ public Action:Command_Nextmap(client, args)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (mapchooser && !HasEndOfMapVoteFinished())
|
||||
if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
|
||||
{
|
||||
ReplyToCommand(client, "[SM] %t", "Pending Vote");
|
||||
}
|
||||
@ -253,7 +253,7 @@ public Action:Command_Say(client, args)
|
||||
|
||||
if(GetConVarInt(g_Cvar_TriggerShow))
|
||||
{
|
||||
if (mapchooser && !HasEndOfMapVoteFinished())
|
||||
if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
|
||||
{
|
||||
PrintToChatAll("[SM] %t", "Pending Vote");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user