Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MegaMek/megamek.git
Browse files Browse the repository at this point in the history
  • Loading branch information
HammerGS committed Aug 7, 2020
2 parents 77b06b7 + aba2757 commit ebd059b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megamek/src/megamek/common/templates/BattleArmorTROView.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ private int addBAEquipment() {
Map<String, Object> row;
int nameWidth = 30;
for (final Mounted m : ba.getEquipment()) {
if (m.isAPMMounted() || (m.getType() instanceof InfantryAttack) || (m.getType() == armor)) {
if (m.isAPMMounted() || (m.getType() instanceof InfantryAttack)
|| (m.getType() == armor) || (m.getLocation() == BattleArmor.LOC_NONE)) {
continue;
}
if ((m.getType() instanceof MiscType) && m.getType().hasFlag(MiscType.F_BA_MANIPULATOR)) {
Expand Down

0 comments on commit ebd059b

Please sign in to comment.