Skip to content

Commit

Permalink
Issue 3827: Fixes target's side's ECM not effecting sensor spotting
Browse files Browse the repository at this point in the history
  • Loading branch information
psikomonkie committed Dec 1, 2024
1 parent d8496ca commit 2e45dc0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion megamek/src/megamek/common/Sensor.java
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ public int getModForECM(Entity en, List<ECMInfo> allECMInfo) {
*/
public int getModForTargetECM(Entity targetEntity, List<ECMInfo> allECMInfo) {
// how many ECM fields are affecting the target entity?
Coords pos = targetEntity.getPosition();
ECMInfo ecmInfo = ComputeECM.getFriendlyECMEffects(targetEntity, allECMInfo);
return getECMSensorRangeModifier(ecmInfo);
}
Expand Down

0 comments on commit 2e45dc0

Please sign in to comment.