mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix script error in setUnconscious
This commit is contained in:
@ -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];
|
||||||
|
Reference in New Issue
Block a user