Fixed nextmap trigger showing wrong output with end-of-map voting disabled and sm_trigger_show set to zero (bug 3597, r=pred).

This commit is contained in:
mr.e.unk@gmail.com 2009-02-01 02:09:15 -05:00
parent 50e1c5ba1f
commit 94303ea9a0

View File

@ -288,7 +288,7 @@ public Action:Command_Say(client, args)
} }
else else
{ {
if (mapchooser && !HasEndOfMapVoteFinished()) if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
{ {
PrintToChat(client, "[SM] %t", "Pending Vote"); PrintToChat(client, "[SM] %t", "Pending Vote");
} }