Skip to content

Commit

Permalink
Merge pull request #1425 from SJuliez/structure-load-hotfix
Browse files Browse the repository at this point in the history
MekUtil: fix automatic placement of armors without crit requirement
  • Loading branch information
HammerGS authored Feb 14, 2024
2 parents 2ede437 + 8bf37c1 commit e3508bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions megameklab/src/megameklab/util/MekUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ public static void fillInAllEquipment(Mech mek) {
*/
public static boolean isFMU(Mounted equipment) {
return (equipment != null)
&& equipment.getType().getCriticals(equipment.getEntity()) > 0
&& !equipment.getType().isHittable()
&& (equipment.getType() instanceof MiscType)
&& !equipment.getType().hasFlag(MiscType.F_CASE)
Expand Down

0 comments on commit e3508bb

Please sign in to comment.