From 7ff2ad3102b3ab7ae11123003118029fb24a8442 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 27 May 2023 16:30:33 +0200 Subject: [PATCH] Improve a comment --- qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2