Fix unconscious hidden status not being reset on respawn (#6006)

This commit is contained in:
SilentSpike 2018-01-02 16:18:44 +00:00 committed by GitHub
parent 4bb16c043c
commit 1f818981ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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