mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_handleStateUnconscious.sqf (#7079)
This commit is contained in:
parent
b2f4b8ea20
commit
6586cb0144
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user