Skip to content

Commit

Permalink
PartsStore - Fix EquipmentParts and OmniPods
Browse files Browse the repository at this point in the history
  • Loading branch information
WeaverThree committed Oct 21, 2024
1 parent f4ebf81 commit c0adb0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MekHQ/src/mekhq/campaign/market/PartsStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ private void stockWeaponsAmmoAndEquipment(Campaign c) {
epart = new EquipmentPart(0, et, -1, 1.0, true, c);
epart.setEquipTonnage(ton);
parts.add(epart);
epart = new EquipmentPart(0, et, -1, 1.0, true, c);
epart.setEquipTonnage(ton);
parts.add(new OmniPod(epart, c));
}
// TODO: still need to deal with talons (unit tonnage) and masc (engine rating)
Expand All @@ -241,7 +243,7 @@ private void stockWeaponsAmmoAndEquipment(Campaign c) {
parts.add(p);
if (poddable) {
parts.add(new EquipmentPart(0, et, -1, 1.0, true, c));
parts.add(new OmniPod(p, c));
parts.add(new OmniPod(new EquipmentPart(0, et, -1, 1.0, false, c), c));
}
}
}
Expand Down

0 comments on commit c0adb0c

Please sign in to comment.