mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Compat WS - Make compat auto load if DLC is present (#9205)
This commit is contained in:
parent
88e0c8f27b
commit
5417a18d7f
@ -1,2 +0,0 @@
|
|||||||
[preprocess]
|
|
||||||
enabled = false
|
|
@ -1,13 +1,5 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
#if __has_include("\lxWS\data_f_lxWS\config.bin")
|
|
||||||
#else
|
|
||||||
#define PATCH_SKIP "Western Sahara"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef PATCH_SKIP
|
|
||||||
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
|
||||||
#else
|
|
||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
name = COMPONENT_NAME;
|
name = COMPONENT_NAME;
|
||||||
@ -15,6 +7,7 @@ class CfgPatches {
|
|||||||
weapons[] = {};
|
weapons[] = {};
|
||||||
requiredVersion = REQUIRED_VERSION;
|
requiredVersion = REQUIRED_VERSION;
|
||||||
requiredAddons[] = {"data_f_lxWS_Loadorder"};
|
requiredAddons[] = {"data_f_lxWS_Loadorder"};
|
||||||
|
skipWhenMissingDependencies = 1;
|
||||||
author = ECSTRING(common,ACETeam);
|
author = ECSTRING(common,ACETeam);
|
||||||
authors[] = {"Mike"};
|
authors[] = {"Mike"};
|
||||||
url = ECSTRING(main,URL);
|
url = ECSTRING(main,URL);
|
||||||
@ -23,5 +16,3 @@ class CfgPatches {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user