From 2c3a5b0603faa31ff9b1ca8caa98bc9b91a829e8 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 14 May 2015 22:18:53 -0500 Subject: [PATCH] Start vital tracking after treatment --- addons/medical/functions/fnc_treatment_success.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/medical/functions/fnc_treatment_success.sqf b/addons/medical/functions/fnc_treatment_success.sqf index ffe67d21bc..b3b6e9d52a 100644 --- a/addons/medical/functions/fnc_treatment_success.sqf +++ b/addons/medical/functions/fnc_treatment_success.sqf @@ -55,3 +55,8 @@ if (isNil _callback) then { _args call _callback; _args call FUNC(createLitter); + +//If we're not already tracking vitals, start: +if (!(_target getvariable [QGVAR(addedToUnitLoop),false])) then { + [_target] call FUNC(addToInjuredCollection); +};