]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'morosophos/remove-buff-spawn-shield' into 'master'
authorMario <mario.mario@y7mail.com>
Wed, 25 Sep 2019 23:35:42 +0000 (23:35 +0000)
committerMario <mario.mario@y7mail.com>
Wed, 25 Sep 2019 23:35:42 +0000 (23:35 +0000)
Remove the hardcoded 0.5sec buff shield assigned to newly spawned players

See merge request xonotic/xonotic-data.pk3dir!712

qcsrc/common/mutators/mutator/buffs/sv_buffs.qc

index 97df48106dcbc935fa4e38c0720f42b8cc3a0854..27e0697daed09771616c51021d08790764706b56 100644 (file)
@@ -576,7 +576,6 @@ MUTATOR_HOOKFUNCTION(buffs, PlayerSpawn)
        entity player = M_ARGV(0, entity);
 
        player.oldbuffs = 0;
-       PS(player).buff_shield = time + 0.5; // prevent picking up buffs immediately
        // reset timers here to prevent them continuing after re-spawn
        player.buff_disability_time = 0;
        player.buff_disability_effect_time = 0;