mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix unconscious hidden status not being reset on respawn (#6006)
This commit is contained in:
parent
4bb16c043c
commit
1f818981ed
@ -22,7 +22,7 @@ params ["_unit"];
|
|||||||
|
|
||||||
// Reset captive status for respawning unit
|
// Reset captive status for respawning unit
|
||||||
if (!(_unit getVariable ["ACE_isUnconscious", false])) then {
|
if (!(_unit getVariable ["ACE_isUnconscious", false])) then {
|
||||||
[_unit, "setCaptive", "ace_unconscious", false] call EFUNC(common,statusEffect_set);
|
[_unit, "setHidden", "ace_unconscious", false] call EFUNC(common,statusEffect_set);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Remove maximum unconsciousness time handler
|
// Remove maximum unconsciousness time handler
|
||||||
|
Loading…
Reference in New Issue
Block a user