Ability for ace engineer to configure pylons (#5672)

* let ace engineer configure pylons

* fix double usage
This commit is contained in:
shukari 2017-10-25 03:49:51 +02:00 committed by PabstMirror
parent cef4f9d923
commit 154d56a0e4

View File

@ -18,7 +18,7 @@
params ["_unit", "_aircraft"];
if (GVAR(requireEngineer) && {!(_unit getUnitTrait "engineer")}) exitWith {false};
if (GVAR(requireEngineer) && {!([_unit] call EFUNC(common,isEngineer))}) exitWith {false};
if (GVAR(requireToolkit) && {!([_unit, "ToolKit"] call EFUNC(common,hasItem))}) exitWith {false};