From de074b62f26946f8ce3e44512b09a08e0cb7844a Mon Sep 17 00:00:00 2001 From: IndigoFox Date: Fri, 16 Feb 2024 19:05:14 -0800 Subject: [PATCH] make sure last time knocked unconscious variable is visible to all --- framework/client/functions/fn_bindUnconsciousListener.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/client/functions/fn_bindUnconsciousListener.sqf b/framework/client/functions/fn_bindUnconsciousListener.sqf index f2bfb4b..35785fe 100644 --- a/framework/client/functions/fn_bindUnconsciousListener.sqf +++ b/framework/client/functions/fn_bindUnconsciousListener.sqf @@ -4,10 +4,10 @@ if (!hasInterface) exitWith {}; ["ace_medical_knockOut", { // local event that's also used directly by the ACE medical statemachine private _unit = _this; - _this setVariable [QGVARMAIN(lastTimeKnockedOut), diag_tickTime]; + _this setVariable [QGVARMAIN(lastTimeKnockedOut), diag_tickTime, true]; }] call CBA_fnc_addEventHandler; ["ace_medical_WakeUp", { // local event that's also used directly by the ACE medical statemachine private _unit = _this; - _this setVariable [QGVARMAIN(lastTimeKnockedOut), nil]; + _this setVariable [QGVARMAIN(lastTimeKnockedOut), nil, true]; }] call CBA_fnc_addEventHandler; \ No newline at end of file