Skip to content

Commit

Permalink
Markes - Update for changes to ace hash
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Aug 9, 2024
1 parent a2f23c1 commit eb9accf
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 in ACEGVAR(map_gestures,GroupColorCfgMappingNew)) then {
[_groupId, _colorArray, _colorArray] call ACEFUNC(map_gestures,addGroupColorMapping);
};
};

0 comments on commit eb9accf

Please sign in to comment.