From: MirceaKitsune Date: Sun, 26 Sep 2010 20:37:30 +0000 (+0300) Subject: No map voting at campaign end! Fixes a big issue X-Git-Url: https://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=903b6186ffe8fb003fb125dfce95fa8fee2d4bca;ds=sidebyside No map voting at campaign end! Fixes a big issue --- 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;