Update fnc_handleStateUnconscious.sqf (#7079)

This commit is contained in:
PabstMirror 2019-06-28 12:01:03 -05:00 committed by GitHub
parent b2f4b8ea20
commit 6586cb0144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ if (EGVAR(medical,spontaneousWakeUpChance) > 0) then {
// Handle setting being changed mid-mission and still properly check
// already unconscious units, should handle locality changes as well
if (isNil "_lastWakeUpCheck") exitWith {
_unit setVariable [QGVAR(medical,lastWakeUpCheck), CBA_missionTime];
_unit setVariable [QEGVAR(medical,lastWakeUpCheck), CBA_missionTime];
};
if (CBA_missionTime - _lastWakeUpCheck > SPONTANEOUS_WAKE_UP_INTERVAL) then {