Skip to content

Commit

Permalink
fix hemtt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
diwako committed Feb 17, 2025
1 parent 2a6bdcd commit b3dde9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/radar/functions/fnc_cacheLoop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (diwako_dui_compass_hide_blip_alone_group && {_isAloneInGroup}) then {
};

if (GVAR(group_by_vehicle)) then {
private _newGrp = _group apply { [objectParent _x, parseNumber !((driver vehicle _x) isEqualTo _x), _x] };
private _newGrp = _group apply { [objectParent _x, parseNumber ((driver vehicle _x) isNotEqualTo _x), _x] };
_newGrp sort true;
_newGrp = _newGrp apply { _x select 2 };

Expand Down Expand Up @@ -104,7 +104,7 @@ if (diwako_dui_enable_compass) then {
private _compass = [_player] call FUNC(getCompass);
_compassCtrl ctrlSetText (diwako_dui_compass_style select (GVAR(show_cardinal_points) && {_compass isNotEqualTo ""}));

if !(_compass isEqualTo "") then {
if (_compass isNotEqualTo "") then {
GVAR(maxDegrees) = GVAR(oddDirectionCompasses) getVariable [_compass, 360];
};

Expand Down

0 comments on commit b3dde9d

Please sign in to comment.