Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin)
Fixed sm_cancelvote not resetting rtv state. (
bug 5808, r=asherkin)
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