From: terencehill Date: Wed, 17 Jun 2020 20:13:39 +0000 (+0200) Subject: Fix g_freezetag_revive_auto_reducible not working as the description says X-Git-Tag: xonotic-v0.8.5~688^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f7b69d36a2de4418141df593a41364383a645f28;p=xonotic%2Fxonotic-data.pk3dir.git Fix g_freezetag_revive_auto_reducible not working as the description says --- diff --git a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc index 92204c0c6..fbd8262af 100644 --- a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc +++ b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc @@ -470,7 +470,7 @@ MUTATOR_HOOKFUNCTION(ft, Damage_Calculate) && autocvar_g_freezetag_frozen_maxtime > 0 && autocvar_g_freezetag_revive_auto) { float t = 0; - if ((autocvar_g_freezetag_revive_auto_reducible > 0 || DIFF_TEAM(frag_attacker, frag_target)) + if ((autocvar_g_freezetag_revive_auto_reducible < 0 || DIFF_TEAM(frag_attacker, frag_target)) && frag_target.freezetag_frozen_timeout > time) { if (fabs(autocvar_g_freezetag_revive_auto_reducible) == 1)