Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin)
authorPeace-Maker <januk@freenet.de>
Mon Aug 12 00:58:43 2013 +0100 (2013-08-12)
changeset 399902b80e8be3e3
parent 3998 a40a92c903be
child 4000 da351d296ff8
Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin)
plugins/mapchooser.sp
     1.1 --- a/plugins/mapchooser.sp	Mon Aug 12 00:57:26 2013 +0100
     1.2 +++ b/plugins/mapchooser.sp	Mon Aug 12 00:58:43 2013 +0100
     1.3 @@ -879,7 +879,8 @@
     1.4  					GetMenuItem(menu, item, map, sizeof(map));
     1.5  				}
     1.6  				
     1.7 -				SetNextMap(map);			
     1.8 +				SetNextMap(map);
     1.9 +				g_MapVoteCompleted = true;
    1.10  			}
    1.11  			else
    1.12  			{
    1.13 @@ -887,7 +888,6 @@
    1.14  			}
    1.15  			
    1.16  			g_HasVoteStarted = false;
    1.17 -			g_MapVoteCompleted = true;
    1.18  		}
    1.19  	}
    1.20