mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Should be select
Should fix the new script error after last fix.
This commit is contained in:
@ -130,7 +130,7 @@ FUNC(disableFire) = {
|
|||||||
|
|
||||||
if(_firedEH < 0 && difficulty > 0) then {
|
if(_firedEH < 0 && difficulty > 0) then {
|
||||||
_firedEH = [ACE_player, "DefaultAction", {true}, {
|
_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 };
|
if(!isNil "_canFire") exitWith { false };
|
||||||
true
|
true
|
||||||
}] call EFUNC(common,addActionEventHandler);
|
}] call EFUNC(common,addActionEventHandler);
|
||||||
|
Reference in New Issue
Block a user