]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove the hardcoded 0.5sec buff shield assigned to newly spawned players
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 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;