Fix script error in setUnconscious

This commit is contained in:
KoffeinFlummi
2015-02-28 23:35:53 +01:00
parent 1689829f93
commit eeb2f6e8bb

View File

@ -15,7 +15,7 @@
private ["_unit", "_set", "_animState", "_originalPos", "_captiveSwitch", "_startingTime","_minWaitingTime"]; private ["_unit", "_set", "_animState", "_originalPos", "_captiveSwitch", "_startingTime","_minWaitingTime"];
_unit = _this select 0; _unit = _this select 0;
_set = if (count _this > 1) then {_this select 0} else {true}; _set = if (count _this > 1) then {_this select 1} else {true};
if !(_set) exitwith { if !(_set) exitwith {
_unit setvariable ["ACE_isUnconscious", false,true]; _unit setvariable ["ACE_isUnconscious", false,true];