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:
parent
0397b3f9f4
commit
8cbf31a375
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user