From 2e0ca76fe9623643dcf1203e4dd6bbb243481e88 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 12 Dec 2019 15:51:33 -0600 Subject: [PATCH] Update for ACE_Extensions changes and add warning to ace_common --- addons/artillerytables/README.md | 2 +- addons/artillerytables/config.cpp | 5 ++++- addons/common/functions/fnc_checkFiles.sqf | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/artillerytables/README.md b/addons/artillerytables/README.md index af963d790f..3e52ba9946 100644 --- a/addons/artillerytables/README.md +++ b/addons/artillerytables/README.md @@ -1,7 +1,7 @@ ace_artillerytables ========== -Universal artillertables. +Universal artillery rangetables. #### Items Added: `ACE_artilleryTable` diff --git a/addons/artillerytables/config.cpp b/addons/artillerytables/config.cpp index c2d9ff206b..4f5048e5ae 100644 --- a/addons/artillerytables/config.cpp +++ b/addons/artillerytables/config.cpp @@ -15,7 +15,10 @@ class CfgPatches { }; class ACE_Extensions { - extensions[] += {"ace_artillerytables"}; + class ace_artillerytables { + windows = 1; + client = 1; + }; }; #include "CfgEventHandlers.hpp" diff --git a/addons/common/functions/fnc_checkFiles.sqf b/addons/common/functions/fnc_checkFiles.sqf index 3d5adc101c..0f2de2fac6 100644 --- a/addons/common/functions/fnc_checkFiles.sqf +++ b/addons/common/functions/fnc_checkFiles.sqf @@ -105,6 +105,7 @@ if (!isServer && {_platform in ["linux", "osx"]}) then { }; } forEach ("true" configClasses (configFile >> "ACE_Extensions")); }; +if (isArray (configFile >> "ACE_Extensions" >> "extensions")) then { WARNING("extension[] array no longer supported"); }; /////////////// // check server version/addons