Make radarcontrol use approx grids (#24360)

This commit is contained in:
metalgearsloth
2024-01-21 18:15:12 +11:00
committed by GitHub
parent b057ec6104
commit fda8035a5e

View File

@@ -198,7 +198,7 @@ public sealed class RadarControl : MapGridControl
var shown = new HashSet<EntityUid>(); var shown = new HashSet<EntityUid>();
_grids.Clear(); _grids.Clear();
_mapManager.FindGridsIntersecting(xform.MapID, new Box2(pos - MaxRadarRangeVector, pos + MaxRadarRangeVector), ref _grids); _mapManager.FindGridsIntersecting(xform.MapID, new Box2(pos - MaxRadarRangeVector, pos + MaxRadarRangeVector), ref _grids, approx: true, includeMap: false);
// Draw other grids... differently // Draw other grids... differently
foreach (var grid in _grids) foreach (var grid in _grids)