Always create namespace at preInit

This commit is contained in:
PabstMirror 2016-10-11 11:54:25 -05:00 committed by Glowbal
parent 130265fd9f
commit 5d610cf148
2 changed files with 2 additions and 4 deletions

View File

@ -4,4 +4,6 @@ ADDON = false;
#include "XEH_PREP.hpp"
GVAR(disabledFactions) = [] call CBA_fnc_createNamespace;
ADDON = true;

View File

@ -17,8 +17,4 @@
params [["_faction", "", [""]]];
if (isNil QGVAR(disabledFactions)) then {
GVAR(disabledFactions) = [] call CBA_fnc_createNamespace;
};
GVAR(disabledFactions) setVariable [_faction, true];