Fixed nextmap trigger showing wrong output with end-of-map voting disabled and sm_trigger_show set to zero (bug 3597, r=pred).
authormr.e.unk@gmail.com
Sun Feb 01 02:09:15 2009 -0500 (2009-02-01)
changeset 25512803ef800ce4
parent 2550 a2c8eec6dc22
child 2552 30bad9a12191
child 2564 e4cd7bb48e7c
Fixed nextmap trigger showing wrong output with end-of-map voting disabled and sm_trigger_show set to zero (bug 3597, r=pred).
plugins/basetriggers.sp
     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  			}