From 903b6186ffe8fb003fb125dfce95fa8fee2d4bca Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 26 Sep 2010 23:37:30 +0300 Subject: [PATCH] No map voting at campaign end! Fixes a big issue --- data/qcsrc/server/g_world.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index 29d56e8e..a49e2e9f 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -2229,6 +2229,9 @@ void MapVote_Init() float i; float nmax, smax; + if(cvar("g_campaign")) + return; + MapVote_ClearAllVotes(); mapvote_count = 0; -- 2.39.2