]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove useless weaponarena check
authorMario <mario.mario@y7mail.com>
Sat, 4 May 2013 23:12:17 +0000 (09:12 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 4 May 2013 23:12:17 +0000 (09:12 +1000)
qcsrc/server/mutators/gamemode_lms.qc

index 3e8ced87cca852bd5c375a99ac152488f7211b6f..cb8f63bbec088c8c73aabdbbb5a9e9cbefe7cd4d 100644 (file)
@@ -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");