]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
fix a stupid weaponarena warning
[xonotic/xonotic-data.pk3dir.git] / 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
        }