From: Morosophos Date: Mon, 9 Sep 2019 20:59:05 +0000 (+0300) Subject: Remove the hardcoded 0.5sec buff shield assigned to newly spawned players X-Git-Tag: xonotic-v0.8.5~1276^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=88e122702afbf7b018d5db2eb741214f119a605b;p=xonotic%2Fxonotic-data.pk3dir.git Remove the hardcoded 0.5sec buff shield assigned to newly spawned players --- diff --git a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc index 97df48106..27e0697da 100644 --- a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc +++ b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc @@ -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;