Fix undefined variable error in FUNC(debug)

possibly related to #2677 - threw error from switchToGroupSide
This commit is contained in:
PabstMirror 2016-01-11 23:37:44 -06:00
parent 0397b3f9f4
commit 8cbf31a375

View File

@ -18,7 +18,7 @@
params ["_msg", ["_level", 2, [0]]];
private _defaultLoglevel = [GVAR(LOGLEVEL), DEFAULT_LOGGING_LEVEL] select isNil QGVAR(LOGLEVEL);
private _defaultLoglevel = missionNamespace getVariable [QGVAR(LOGLEVEL), DEFAULT_LOGGING_LEVEL];
if (_defaultLoglevel < 0) exitWith {false};