Skip to content

Commit

Permalink
Merge pull request #1361 from SJuliez/restrict-cargo-containers-to-in…
Browse files Browse the repository at this point in the history
…dustrialMeks

Restrict cargo containers to industrial meks
  • Loading branch information
SJuliez authored Jan 3, 2024
2 parents cbbbbe7 + 7a310e7 commit f92c63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megameklab/src/megameklab/util/UnitUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2690,7 +2690,7 @@ public static boolean isMechEquipment(EquipmentType eq, Mech unit) {
&& ((unit.getEngine().getEngineType() == Engine.COMBUSTION_ENGINE)
|| (unit.getEngine().getEngineType() == Engine.FUEL_CELL));
}
if (eq.hasFlag(MiscType.F_ENVIRONMENTAL_SEALING)) {
if (eq.hasFlag(MiscType.F_ENVIRONMENTAL_SEALING) || eq.is("Cargo Container (10 tons)")) {
return unit.isIndustrial();
}

Expand Down

0 comments on commit f92c63c

Please sign in to comment.