diff --git a/addons/markers/functions/fnc_addGestureColor.sqf b/addons/markers/functions/fnc_addGestureColor.sqf index eeecdc015..964066876 100644 --- a/addons/markers/functions/fnc_addGestureColor.sqf +++ b/addons/markers/functions/fnc_addGestureColor.sqf @@ -28,7 +28,7 @@ if (_object isEqualType grpNull && {groupId _object != ""}) then { [toLower groupId _object, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping); } else { private _groupId = toLower groupId (group _object); - if (_groupId in ACEGVAR(map_gestures,GroupColorCfgMappingNew)) then { + if (_groupId != "" && {!(_groupId in ACEGVAR(map_gestures,GroupColorCfgMappingNew))}) then { [_groupId, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping); }; };