conform isnil checking: modules

This commit is contained in:
Whigital 2020-02-11 23:44:07 +01:00
parent 0439cd8738
commit b5a0908824

View File

@ -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;