Remove the hardcoded 0.5sec buff shield assigned to newly spawned players 712/head
authorMorosophos <morosophos@teichisma.info>
Mon, 9 Sep 2019 20:59:05 +0000 (23:59 +0300)
committerMorosophos <morosophos@teichisma.info>
Mon, 9 Sep 2019 20:59:05 +0000 (23:59 +0300)
qcsrc/common/mutators/mutator/buffs/sv_buffs.qc

index 97df481..27e0697 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;