From: terencehill Date: Wed, 1 Feb 2012 16:40:31 +0000 (+0100) Subject: Also disable pinata and weaponstay in weaponarena mode: pinata doesn't work as weapon... X-Git-Tag: xonotic-v0.6.0~42^2~9^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e489bae4e24e32a573fde32321b1e63c2665e553;p=xonotic%2Fxonotic-data.pk3dir.git Also disable pinata and weaponstay in weaponarena mode: pinata doesn't work as weapons can't be dropped in any case, weaponstay is effectless since there can't be any weapon to pick up --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index bbee72a73..69900230a 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -898,6 +898,8 @@ void readplayerstartcvars() if (g_weaponarena) { g_minstagib = 0; // incompatible + g_pinata = 0; // incompatible + g_weapon_stay = 0; // incompatible start_weapons = g_weaponarena; if(!(g_lms || g_ca)) start_items |= IT_UNLIMITED_AMMO;