Should be select

Should fix the new script error after last fix.
This commit is contained in:
Glowbal 2015-04-30 08:53:43 +02:00
parent 8e54e6ec13
commit 8f3d8707cc

View File

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