From b5a09088244a923a566385ffff1dc64786bb3f37 Mon Sep 17 00:00:00 2001 From: Whigital Date: Tue, 11 Feb 2020 23:44:07 +0100 Subject: [PATCH] conform isnil checking: modules --- addons/modules/XEH_postInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/modules/XEH_postInit.sqf b/addons/modules/XEH_postInit.sqf index c6892046fe..062b005589 100644 --- a/addons/modules/XEH_postInit.sqf +++ b/addons/modules/XEH_postInit.sqf @@ -20,7 +20,7 @@ private _isPersistent = getNumber (_config >> "isPersistent") > 0 || getNumber (_config >> "isGlobal") > 1; private _isSingular = getNumber (_config >> "isSingular") > 0; private _function = getText (_config >> "function"); - if (isNil _function) then { + if (isNil "_function") then { _function = compile _function; } else { _function = missionNamespace getVariable _function;