action is select 1

This commit is contained in:
jaynus 2015-05-01 06:57:49 -07:00
parent 21cc0db28f
commit 9997b6d464

View File

@ -134,7 +134,7 @@ FUNC(disableFire) = {
if(_firedEH < 0 && difficulty > 0) then {
_firedEH = [ACE_player, "DefaultAction", {true}, {
_canFire = _this getVariable["ace_missileguidance_target", nil];
_canFire = (_this select 1) getVariable["ace_missileguidance_target", nil];
if(!isNil "_canFire") exitWith { false };
true
}] call EFUNC(common,addActionEventHandler);