Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.50.01 NIGHTLY - CI1635] Saving a Dropship Design with Mech Bays; Bays Disappear when the Design is Loaded #1632

Open
7 tasks done
UlyssesSockdrawer opened this issue Oct 6, 2024 · 0 comments
Labels
Bug Severity: High Issues described as high severity as per the new issue form

Comments

@UlyssesSockdrawer
Copy link

Prerequisites and Pre-Issue Checklist

  • I'm reporting the issue to the correct repository:

  • MegaMek

  • MegaMekLab

  • MekHQ

  • I've tested the issue against at least the latest MILESTONE version

  • I've asked on the MegaMek Discord about the error

  • I've reviewed the BattleTech rules and MegaMekLab documentation, and I've confirmed that something isn't working as intended.

  • I've searched the Github tracker and haven't found the issue listed

Severity *

High (Major Disruption): A major feature is broken or incorrect, but a workaround exists.

Brief Description *

I suspect this bug is caused by the mech -> mek conversion.

When customising or creating a new dropship, it loses any mech bays assigned to it when it is saved. When the unit is reloaded, all bays except the added mech bay will be present and the tonnage shows as free on the design.

Loading existing designs such as the Union works fine in MML, so this seems to only apply to saving the custom.

This only applies to customising dropships from what I can see. No NPE is thrown.

Steps to Reproduce

  1. Load an existing, or create from scratch, a new dropship.
  2. Add bays of different types, including mech bays.
  3. Save the design.
  4. Reload the design
  5. Mech bays disappear from the design when it is loaded again, either in MML, MHQ, or MM.

Operating System *

Windows 11

Java Version *

17.0.12

MegaMek Suite Version *

Free Text (type manually)

Custom MegaMekLab Version

50.01 CI1635 Nightly

Attach Files

N/A

Final Checklist

  • I've checked to make sure that this issue has not already been filed
  • I'm reporting only one issue in this ticket for clarity and focus
@HammerGS HammerGS added Bug Severity: High Issues described as high severity as per the new issue form labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Severity: High Issues described as high severity as per the new issue form
Projects
None yet
Development

No branches or pull requests

2 participants