]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix medic buff rot setting getting ignored
authorterencehill <piuntn@gmail.com>
Mon, 27 Sep 2021 19:50:00 +0000 (21:50 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 27 Sep 2021 19:50:00 +0000 (21:50 +0200)
qcsrc/common/mutators/mutator/buffs/sv_buffs.qc

index 49f70a8fc9ac2742430112355448b53581ccc0f6..7b85e73841fab07f2063e676e6447531ed948881 100644 (file)
@@ -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
        }