From: Rudolf Polzer Date: Tue, 8 Mar 2011 22:05:12 +0000 (+0100) Subject: fix a stupid weaponarena warning X-Git-Tag: xonotic-v0.5.0~309^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=932f85cfc4afcffa5220db3f6b7fa00bb0e55562;p=xonotic%2Fxonotic-data.pk3dir.git fix a stupid weaponarena warning --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 364c92599..4d388068f 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -921,7 +921,11 @@ void readplayerstartcvars() s = "most"; } - if (s == "off") + if (s == "0" || s == "") + { + // no arena + } + else if (s == "off") { // forcibly turn off weaponarena }