From: terencehill Date: Mon, 27 Sep 2021 19:50:00 +0000 (+0200) Subject: Fix medic buff rot setting getting ignored X-Git-Tag: xonotic-v0.8.5~336 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85547bbb67c2c633828749265137d15997b7c58c;p=xonotic%2Fxonotic-data.pk3dir.git Fix medic buff rot setting getting ignored --- diff --git a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc index 49f70a8fc..7b85e7384 100644 --- a/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc +++ b/qcsrc/common/mutators/mutator/buffs/sv_buffs.qc @@ -963,7 +963,7 @@ MUTATOR_HOOKFUNCTION(buffs, PlayerRegen) if(StatusEffects_active(BUFF_MEDIC, player)) { - M_ARGV(2, float) = autocvar_g_buffs_medic_rot; // rot_mod + M_ARGV(3, float) = autocvar_g_buffs_medic_rot; // rot_mod M_ARGV(4, float) = M_ARGV(1, float) = autocvar_g_buffs_medic_max; // limit_mod = max_mod M_ARGV(2, float) = autocvar_g_buffs_medic_regen; // regen_mod }