mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix undefined variable error in FUNC(debug)
possibly related to #2677 - threw error from switchToGroupSide
This commit is contained in:
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
params ["_msg", ["_level", 2, [0]]];
|
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};
|
if (_defaultLoglevel < 0) exitWith {false};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user