diff --git a/megamek/src/megamek/server/GameManager.java b/megamek/src/megamek/server/GameManager.java index 8fd3e017828..65ba2266c5a 100644 --- a/megamek/src/megamek/server/GameManager.java +++ b/megamek/src/megamek/server/GameManager.java @@ -20574,9 +20574,9 @@ private Vector resolveCrewDamage(Entity e, int damage, int crewPos) { // return true; } // else vDesc.add(r); - } while ((e.shouldUseEdge(OptionsConstants.EDGE_WHEN_KO) - && e.getCrew().isKoThisRound(crewPos)) - || e.shouldUseEdge(OptionsConstants.EDGE_WHEN_AERO_KO)); + } while (e.getCrew().isKoThisRound(crewPos) + && (e.shouldUseEdge(OptionsConstants.EDGE_WHEN_KO) + || e.shouldUseEdge(OptionsConstants.EDGE_WHEN_AERO_KO))); // end of do-while if (e.getCrew().isKoThisRound(crewPos)) { boolean wasPilot = e.getCrew().getCurrentPilotIndex() == crewPos;