From 1abe622e282e2841c410b297e2f0c9463231779f Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Mon, 11 Feb 2019 14:19:19 -0600 Subject: [PATCH] Pylons - Remove ace_zeus from requiredAddons (#6808) --- addons/pylons/config.cpp | 2 +- addons/pylons/functions/fnc_showDialog.sqf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/pylons/config.cpp b/addons/pylons/config.cpp index 011167fd22..fc7159e08b 100644 --- a/addons/pylons/config.cpp +++ b/addons/pylons/config.cpp @@ -6,7 +6,7 @@ class CfgPatches { units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ace_interact_menu", "ace_zeus"}; + requiredAddons[] = {"ace_interact_menu"}; author = ECSTRING(common,ACETeam); authors[] = {"654wak654"}; url = ECSTRING(main,URL); diff --git a/addons/pylons/functions/fnc_showDialog.sqf b/addons/pylons/functions/fnc_showDialog.sqf index 2ce438e0ab..ae5d4d3561 100644 --- a/addons/pylons/functions/fnc_showDialog.sqf +++ b/addons/pylons/functions/fnc_showDialog.sqf @@ -18,6 +18,8 @@ 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 (_isCurator) then { [LSTRING(AircraftDoesntHavePylons)] call EFUNC(zeus,showMessage);