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:
parent
1689829f93
commit
eeb2f6e8bb
@ -15,7 +15,7 @@
|
||||
|
||||
private ["_unit", "_set", "_animState", "_originalPos", "_captiveSwitch", "_startingTime","_minWaitingTime"];
|
||||
_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 {
|
||||
_unit setvariable ["ACE_isUnconscious", false,true];
|
||||
|
Loading…
Reference in New Issue
Block a user