This commit is contained in:
vbawol 2017-09-26 15:14:51 -05:00
parent fc3ba3b3fb
commit 8b1a4d0f3c

View File

@ -75,9 +75,11 @@ if (_version >= 1) then {
_code = "";
if (getNumber(_x >> "customHeader") == 1) then {
_code = _header + (preprocessFileLineNumbers _fnc_path);
diag_log _code;
} else {
_code = (preprocessFileLineNumbers _fnc_path);
};
missionNamespace setvariable [_var_name,compileFinal _code];
if (getNumber(_x >> "preInit") == 1) then {
call (missionNamespace getvariable _var_name);