Skip to content

Commit

Permalink
Fix Hide Terrain Objects module for tall objects (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand38 authored Oct 5, 2023
1 parent 9831768 commit b839ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/modules/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (isServer) then {

{
_x hideObjectGlobal _hide;
} forEach nearestTerrainObjects [_position, _objectTypes, _radius];
} forEach nearestTerrainObjects [_position, _objectTypes, _radius, false, true]; // Use 2D mode to handle tall objects
}] call CBA_fnc_addEventHandler;
};

Expand Down

0 comments on commit b839ca8

Please sign in to comment.