mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix respawn when letting AI take over playable units (#9145)
This commit is contained in:
parent
4de8487db0
commit
60cc8fbe88
@ -74,10 +74,10 @@ if (_isRespawn) then {
|
|||||||
_unit setVariable [VAR_MEDICATIONS, [], true];
|
_unit setVariable [VAR_MEDICATIONS, [], true];
|
||||||
|
|
||||||
// Unconscious spontanious wake up chance
|
// Unconscious spontanious wake up chance
|
||||||
_unit setVariable [QEGVAR(medical,lastWakeUpCheck), nil];
|
_unit setVariable [QEGVAR(medical,lastWakeUpCheck), nil, true];
|
||||||
|
|
||||||
// Cause of death
|
// Cause of death
|
||||||
_unit setVariable [QEGVAR(medical,causeOfDeath), nil];
|
_unit setVariable [QEGVAR(medical,causeOfDeath), nil, true];
|
||||||
};
|
};
|
||||||
|
|
||||||
[{
|
[{
|
||||||
|
Loading…
Reference in New Issue
Block a user