From: terencehill Date: Sat, 27 May 2023 14:30:33 +0000 (+0200) Subject: Improve a comment X-Git-Tag: xonotic-v0.8.6~62^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ff2ad3102b3ab7ae11123003118029fb24a8442;p=xonotic%2Fxonotic-data.pk3dir.git Improve a comment --- diff --git a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc index 3bb78272f..f1e6b1ce2 100644 --- a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc +++ b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc @@ -365,7 +365,8 @@ MUTATOR_HOOKFUNCTION(ft, PlayerDies) if(ITEM_DAMAGE_NEEDKILL(frag_deathtype)) { - // soft-kill: setting health to something >= 1 after death, ammo won't be reset + // by restoring some health right after player death (soft-kill) + // weapons and ammo won't be reset SetResourceExplicit(frag_target, RES_HEALTH, 1); // restore armor as it was removed in PlayerDamage SetResourceExplicit(frag_target, RES_ARMOR, frag_target.freezetag_frozen_armor);