Fixed
amb1924 - Nextmap command now checks if end of map voting is enabled
1.1 --- a/plugins/basetriggers.sp Fri Aug 08 00:17:37 2008 +0000
1.2 +++ b/plugins/basetriggers.sp Sun Aug 10 05:39:25 2008 +0000
1.3 @@ -148,7 +148,7 @@
1.4
1.5 if(GetConVarInt(g_Cvar_TriggerShow))
1.6 {
1.7 - if (mapchooser && !HasEndOfMapVoteFinished())
1.8 + if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
1.9 {
1.10 PrintToChatAll("[SM] %t", "Pending Vote");
1.11 }
1.12 @@ -159,7 +159,7 @@
1.13 }
1.14 else
1.15 {
1.16 - if (mapchooser && !HasEndOfMapVoteFinished())
1.17 + if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
1.18 {
1.19 ReplyToCommand(client, "[SM] %t", "Pending Vote");
1.20 }
1.21 @@ -253,7 +253,7 @@
1.22
1.23 if(GetConVarInt(g_Cvar_TriggerShow))
1.24 {
1.25 - if (mapchooser && !HasEndOfMapVoteFinished())
1.26 + if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
1.27 {
1.28 PrintToChatAll("[SM] %t", "Pending Vote");
1.29 }