[0.50.01-SNAPSHOT] Selecting alternate ammunition does not display the ammo that will be fired correctly #6138
Labels
Bug
GUI
User Interface
Severity: Medium
Issues described as medium severity as per the new issue form
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 MegaMek 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 *
Medium (Gameplay Limitation): Non-core functionality is impaired, providing a suboptimal but playable experience.
Brief Description *
When selecting alternate ammunition such as LBX Cluster, the weapons dropdown does not update to show the selected ammo and remains showing the default loaded ammunition, as shown in the screenshot below:
The correct ammunition is actually fired, and you can see the -1 Cluster ammo modifier is taking effect in the modifiers pane, this appears to be a purely visual bug.
Steps to Reproduce
Using a mech that has alternate ammo available (LBX, LRM, SRM, etc) try to select an ammo type other than the type loaded at start
Operating System *
Windows 10
Java Version *
Java Version: 17.0.6
MegaMek Suite Version *
Free Text (type manually)
Custom MegaMek Version
megamek.MegaMek.initializeLogging(MegaMek.java:146) - Starting MegaMek v0.50.1-SNAPSHOT Build Date: 2024-10-22T03:24:07.974368271 Today: 2024-10-23 Origin Project: MekHQ Java Vendor: Eclipse Adoptium Java Version: 17.0.6 Platform: Windows 10 10.0 (amd64) System Locale: en_US Total memory available to MegaMek: 8 GB MM Code Revision: 630bba8 MML Code Revision: 384380362038ce744734c3a05836fd5d511d1df0 MHQ Code Revision: 035ff6c725a948b98d811bdaac45d7375ea67074
Attach Files
AmmoSelectionBug.zip
Final Checklist
The text was updated successfully, but these errors were encountered: