Skip to content

Commit b839ca8

Browse files
authored
Fix Hide Terrain Objects module for tall objects (#748)
1 parent 9831768 commit b839ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/modules/XEH_postInit.sqf

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (isServer) then {
1818

1919
{
2020
_x hideObjectGlobal _hide;
21-
} forEach nearestTerrainObjects [_position, _objectTypes, _radius];
21+
} forEach nearestTerrainObjects [_position, _objectTypes, _radius, false, true]; // Use 2D mode to handle tall objects
2222
}] call CBA_fnc_addEventHandler;
2323
};
2424

0 commit comments

Comments
 (0)