Skip to content

Commit

Permalink
Markes - Update for changes to ace hash (#516)
Browse files Browse the repository at this point in the history
* Markes - Update for changes to ace hash

* Update addons/markers/functions/fnc_addGestureColor.sqf
  • Loading branch information
PabstMirror authored Aug 10, 2024
1 parent 5f5a1ca commit ba1f54b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/markers/functions/fnc_addGestureColor.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ params [
if (isNull _object || count _colorArray != 4) exitWith { WARNING_2("Bad input parameters",_object,_colorArray); };

if (_object isEqualType grpNull && {groupId _object != ""}) then {
[groupId _object, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping);
[toLower groupId _object, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping);
} else {
private _groupId = groupId (group _object);
if (_groupId != "" && {isNil {ACEGVAR(map_gestures,GroupColorCfgMappingNew) getVariable _groupId}}) then {
private _groupId = toLower groupId (group _object);
if (_groupId != "" && {!(_groupId in ACEGVAR(map_gestures,GroupColorCfgMappingNew))}) then {
[_groupId, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping);
};
};

0 comments on commit ba1f54b

Please sign in to comment.