Fixed nextmap trigger showing wrong output with end-of-map voting disabled and sm_trigger_show set to zero (bug 3597, r=pred).
Fixed nextmap trigger showing wrong output with end-of-map voting disabled and sm_trigger_show set to zero (
bug 3597, r=pred).
1.1 --- a/plugins/basetriggers.sp Sat Jan 31 23:42:35 2009 -0500
1.2 +++ b/plugins/basetriggers.sp Sun Feb 01 02:09:15 2009 -0500
1.3 @@ -288,7 +288,7 @@
1.4 }
1.5 else
1.6 {
1.7 - if (mapchooser && !HasEndOfMapVoteFinished())
1.8 + if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
1.9 {
1.10 PrintToChat(client, "[SM] %t", "Pending Vote");
1.11 }