]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a stupid weaponarena warning
authorRudolf Polzer <divverent@alientrap.org>
Tue, 8 Mar 2011 22:05:12 +0000 (23:05 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 8 Mar 2011 22:05:12 +0000 (23:05 +0100)
qcsrc/server/miscfunctions.qc

index 364c925991a893ccb2a75749cb57d9bd8a573104..4d388068f1a6a892edd5ea8525197848ee2cae3c 100644 (file)
@@ -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
        }