MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
83 stars 122 forks source link

[49.19] Two issues with Aerospace Fighters and Cargo. #1495

Open Nehvar opened 2 months ago

Nehvar commented 2 months ago

1) When adding Cargo to an ASF that has the "Internal Bomb Bay" quirk the weight I set for the Cargo does not subtract from the summary at the bottom of the UI window. (It displays as it should when the quirk is not toggled.)

01

2) After having saved and reloaded an ASF that has Cargo, whether or not the "Internal Bomb Bay" quirk is set, the tonnage allotted to cargo is duplicated. This happens every time you save and load. Here's the warning I get when saving and loading one more time after the initial creation of the .blk.

02

...and three times.

03

Here is a screenshot of the duplicated cargo entries found in the .blk from the last image. Note that "Cargo:SIZE:12.0" appears under the correct equipment subsection at the bottom of each of the .blk's and is not duplicated.

04

EDIT:

Here's a zip with .blk files for a copy of the above ASF after the initial creation, 1 reload and save and 3 reloads and saves.

ASF_Cargo_Bug.zip