Skip to content

Commit

Permalink
Merge branch 'master' into release-3.15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Mar 9, 2021
2 parents bdad582 + ef20c8c commit 5ee330d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/xeh/fnc_compileFunction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ params [["_funcFile", "", [""]], ["_funcName", "", [""]]];
private _cachedFunc = uiNamespace getVariable _funcName;

if (isNil "_cachedFunc") then {
uiNamespace setVariable [_funcName, compileFinal preprocessFileLineNumbers _funcFile];
uiNamespace setVariable [_funcName, compileScript [_funcFile, true]];
missionNamespace setVariable [_funcName, uiNamespace getVariable _funcName];
} else {
if (["compile"] call CBA_fnc_isRecompileEnabled) then {
Expand Down
2 changes: 1 addition & 1 deletion addons/xeh/fnc_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SLX_XEH_DisableLogging = uiNamespace getVariable ["SLX_XEH_DisableLogging", fals
XEH_LOG("PreInit started. v" + getText (configFile >> "CfgPatches" >> "cba_common" >> "versionStr"));

SLX_XEH_STR = ""; // does nothing, never changes, backwards compatibility
SLX_XEH_COMPILE = compileFinal "compile preprocessFileLineNumbers _this"; //backwards comps
SLX_XEH_COMPILE = compileFinal "diag_log text format ['[CBA-XEH] old SLX_XEH_COMPILE macro used on %1', _this]; compile preprocessFileLineNumbers _this"; //backwards compat
SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction; //backwards comp
SLX_XEH_DUMMY = "Logic"; // backwards comp

Expand Down
2 changes: 1 addition & 1 deletion addons/xeh/fnc_preStart.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ with uiNamespace do {

XEH_LOG("PreStart started.");

SLX_XEH_COMPILE = compileFinal "compile preprocessFileLineNumbers _this"; //backwards comps
SLX_XEH_COMPILE = compileFinal "diag_log text format ['[CBA-XEH] old SLX_XEH_COMPILE macro used on %1', _this]; compile preprocessFileLineNumbers _this"; //backwards compat
SLX_XEH_COMPILE_NEW = CBA_fnc_compileFunction; //backwards comp

PREP(initDisplay3DEN);
Expand Down

0 comments on commit 5ee330d

Please sign in to comment.