From: Mario Date: Sat, 4 May 2013 23:12:17 +0000 (+1000) Subject: Remove useless weaponarena check X-Git-Tag: xonotic-v0.7.0~60^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3b8ace6c8441fe98d468b9fcfab94c05f09ae3c2;p=xonotic%2Fxonotic-data.pk3dir.git Remove useless weaponarena check --- diff --git a/qcsrc/server/mutators/gamemode_lms.qc b/qcsrc/server/mutators/gamemode_lms.qc index 3e8ced87c..cb8f63bbe 100644 --- a/qcsrc/server/mutators/gamemode_lms.qc +++ b/qcsrc/server/mutators/gamemode_lms.qc @@ -139,12 +139,6 @@ MUTATOR_HOOKFUNCTION(lms_GiveFragsForKill) MUTATOR_HOOKFUNCTION(lms_SetStartItems) { - string s; - - s = cvar_string("g_weaponarena"); - if (s == "0" || s == "") - s = "most"; - start_items &~= IT_UNLIMITED_AMMO; start_ammo_shells = cvar("g_lms_start_ammo_shells"); start_ammo_nails = cvar("g_lms_start_ammo_nails");