diff --git a/megamek/src/megamek/client/ui/swing/MovementDisplay.java b/megamek/src/megamek/client/ui/swing/MovementDisplay.java index 17060095c18..beabd28d778 100644 --- a/megamek/src/megamek/client/ui/swing/MovementDisplay.java +++ b/megamek/src/megamek/client/ui/swing/MovementDisplay.java @@ -780,7 +780,6 @@ public synchronized void selectEntity(int en) { setStatusBarText(yourTurnMsg); } clientgui.getBoardView().clearFieldOfFire(); - clientgui.getBoardView().clearSensorsRanges(); computeMovementEnvelope(ce); } diff --git a/megamek/src/megamek/client/ui/swing/boardview/BoardView.java b/megamek/src/megamek/client/ui/swing/boardview/BoardView.java index 605504a9849..e64589f0439 100644 --- a/megamek/src/megamek/client/ui/swing/boardview/BoardView.java +++ b/megamek/src/megamek/client/ui/swing/boardview/BoardView.java @@ -6424,13 +6424,8 @@ public RangeHelper(int min, int max) { // prepares the sprites for visual and sensor ranges public void setSensorRange(Entity entity, Coords c) { - if (entity == null || c == null || !GUIP.getShowSensorRange()) { - clearSensorsRanges(); - return; - } - - // Do not display anything for offboard units - if (entity.isOffBoard()) { + // Do not calculate anything for offboard units + if (entity == null || c == null || entity.isOffBoard()) { clearSensorsRanges(); return; }