mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 04:42:48 +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]]];
|
||||
|
||||
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};
|
||||
|
||||
|
Reference in New Issue
Block a user