]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix start items in some special arena mutators
authorMario <mario@smbclan.net>
Mon, 3 Oct 2016 13:06:11 +0000 (23:06 +1000)
committerMario <mario@smbclan.net>
Mon, 3 Oct 2016 13:06:11 +0000 (23:06 +1000)
qcsrc/common/mutators/mutator/melee_only/sv_melee_only.qc
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc

index e07034bafa33c7d775d3a3e0cb134beb9edb1241..89fdfaf9ed842eee0e97e21cf0090b853abb0e1f 100644 (file)
@@ -2,7 +2,7 @@
 
 REGISTER_MUTATOR(melee_only, cvar("g_melee_only") && !cvar("g_instagib") && !g_nexball);
 
-MUTATOR_HOOKFUNCTION(melee_only, SetStartItems)
+MUTATOR_HOOKFUNCTION(melee_only, SetStartItems, CBC_ORDER_LAST)
 {
        start_ammo_shells = warmup_start_ammo_shells = 0;
        start_weapons = warmup_start_weapons = WEPSET(SHOTGUN);
index ea7ed953ce45aa86ed3193740c8c3cf0edb968a0..572261528ed7e100609a4ca69d90c2994fb71493 100644 (file)
@@ -362,7 +362,7 @@ MUTATOR_HOOKFUNCTION(ok, SpectateCopy)
        client.ok_use_ammocharge = spectatee.ok_use_ammocharge;
 }
 
-MUTATOR_HOOKFUNCTION(ok, SetStartItems)
+MUTATOR_HOOKFUNCTION(ok, SetStartItems, CBC_ORDER_LAST)
 {
        WepSet ok_start_items = (WEPSET(MACHINEGUN) | WEPSET(VORTEX) | WEPSET(SHOTGUN));