mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
conform isnil checking: modules
This commit is contained in:
parent
0439cd8738
commit
b5a0908824
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user