fixed missing parameters for non local unit

This commit is contained in:
Glowbal 2015-05-16 15:19:42 +02:00 committed by KoffeinFlummi
parent 913c938a9d
commit 429c85c9f1

View File

@ -33,7 +33,7 @@ if !(_set) exitwith {
if !(!(isNull _unit) && {(_unit isKindOf "CAManBase") && ([_unit] call EFUNC(common,isAwake))}) exitwith{};
if (!local _unit) exitwith {
[[_unit], QUOTE(DFUNC(setUnconscious)), _unit, false] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
[[_unit, _set, _minWaitingTime, _force], QUOTE(DFUNC(setUnconscious)), _unit, false] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
};
_unit setvariable ["ACE_isUnconscious", true, true];