From 37639066c26d3e4f0b88e0d00750772ba4b92771 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Mon, 14 Sep 2015 15:19:58 +0200 Subject: [PATCH] Include missing frame in the caching execution --- addons/medical/functions/fnc_handleDamage_caching.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical/functions/fnc_handleDamage_caching.sqf b/addons/medical/functions/fnc_handleDamage_caching.sqf index 41f93b954b..910221a850 100644 --- a/addons/medical/functions/fnc_handleDamage_caching.sqf +++ b/addons/medical/functions/fnc_handleDamage_caching.sqf @@ -76,7 +76,7 @@ if (diag_frameno > (_unit getVariable [QGVAR(frameNo_damageCaching), -3]) + 2) t private ["_args", "_params"]; params ["_args", "_idPFH"]; _args params ["_unit", "_frameno"]; - if (diag_frameno > _frameno + 2) then { + if (diag_frameno >= _frameno + 2) then { _unit setDamage 0; if (GVAR(level) < 2 || {!([_unit] call FUNC(hasMedicalEnabled))}) then {