Skip to content

Commit

Permalink
Do not add Clan IS types for mixed tech superheavies.
Browse files Browse the repository at this point in the history
#50: Super heavies shouldn't be allowed to use certain equipment.
  • Loading branch information
neoancient committed Feb 18, 2017
1 parent 5f191f1 commit 7740795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/megameklab/com/ui/Mek/tabs/StructureTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -2740,7 +2740,7 @@ private List<String> getStructureTypes() {
getMech().isMixedTech())) {
structures.add(et.getName());
}
if (getMech().isMixedTech()) {
if (getMech().isMixedTech() && !getMech().isSuperHeavy()) {
et = EquipmentType.get(EquipmentType.getStructureTypeName(i,
!getMech().isClan()));
if ((et != null)
Expand Down

0 comments on commit 7740795

Please sign in to comment.