mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pylons - Remove ace_zeus from requiredAddons (#6808)
This commit is contained in:
parent
30ecfb0a71
commit
1abe622e28
@ -6,7 +6,7 @@ class CfgPatches {
|
|||||||
units[] = {};
|
units[] = {};
|
||||||
weapons[] = {};
|
weapons[] = {};
|
||||||
requiredVersion = REQUIRED_VERSION;
|
requiredVersion = REQUIRED_VERSION;
|
||||||
requiredAddons[] = {"ace_interact_menu", "ace_zeus"};
|
requiredAddons[] = {"ace_interact_menu"};
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
authors[] = {"654wak654"};
|
authors[] = {"654wak654"};
|
||||||
url = ECSTRING(main,URL);
|
url = ECSTRING(main,URL);
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
params ["_aircraft", ["_isCurator", false]];
|
params ["_aircraft", ["_isCurator", false]];
|
||||||
|
|
||||||
|
if (_isCurator && {!(["ace_zeus"] call EFUNC(common,isModLoaded))}) exitWith { WARNING("ace_zeus not loaded"); };
|
||||||
|
|
||||||
if !(typeOf _aircraft in GVAR(aircraftWithPylons)) exitWith {
|
if !(typeOf _aircraft in GVAR(aircraftWithPylons)) exitWith {
|
||||||
if (_isCurator) then {
|
if (_isCurator) then {
|
||||||
[LSTRING(AircraftDoesntHavePylons)] call EFUNC(zeus,showMessage);
|
[LSTRING(AircraftDoesntHavePylons)] call EFUNC(zeus,showMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user