Skip to content

Commit

Permalink
Merge pull request #4775 from Saklad5/aes-parser-fix
Browse files Browse the repository at this point in the history
Fix parser bug when loading tripod AES
  • Loading branch information
SJuliez authored Sep 13, 2023
2 parents 139ae51 + 3898749 commit 511e199
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megamek/src/megamek/common/MechFileParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ else if (m.getType().hasFlag(MiscType.F_APOLLO)
if ((m.getLocation() != Mech.LOC_LARM)
&& (m.getLocation() != Mech.LOC_LLEG)
&& (m.getLocation() != Mech.LOC_RARM)
&& (m.getLocation() != Mech.LOC_RLEG)) {
&& (m.getLocation() != Mech.LOC_RLEG)
&& (m.getLocation() != Mech.LOC_CLEG)) {
throw new EntityLoadingException(
"Unable to load AES due to incompatible location for "+ent.getShortName());
}
Expand Down

0 comments on commit 511e199

Please sign in to comment.