mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Ability for ace engineer to configure pylons (#5672)
* let ace engineer configure pylons * fix double usage
This commit is contained in:
parent
cef4f9d923
commit
154d56a0e4
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user