make sure last time knocked unconscious variable is visible to all
This commit is contained in:
@@ -4,10 +4,10 @@ if (!hasInterface) exitWith {};
|
|||||||
|
|
||||||
["ace_medical_knockOut", { // local event that's also used directly by the ACE medical statemachine
|
["ace_medical_knockOut", { // local event that's also used directly by the ACE medical statemachine
|
||||||
private _unit = _this;
|
private _unit = _this;
|
||||||
_this setVariable [QGVARMAIN(lastTimeKnockedOut), diag_tickTime];
|
_this setVariable [QGVARMAIN(lastTimeKnockedOut), diag_tickTime, true];
|
||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
["ace_medical_WakeUp", { // local event that's also used directly by the ACE medical statemachine
|
["ace_medical_WakeUp", { // local event that's also used directly by the ACE medical statemachine
|
||||||
private _unit = _this;
|
private _unit = _this;
|
||||||
_this setVariable [QGVARMAIN(lastTimeKnockedOut), nil];
|
_this setVariable [QGVARMAIN(lastTimeKnockedOut), nil, true];
|
||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
Reference in New Issue
Block a user