Make radarcontrol use approx grids (#24360)
This commit is contained in:
@@ -198,7 +198,7 @@ public sealed class RadarControl : MapGridControl
|
||||
var shown = new HashSet<EntityUid>();
|
||||
|
||||
_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
|
||||
foreach (var grid in _grids)
|
||||
|
||||
Reference in New Issue
Block a user