Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@SJuliez
Copy link
Member

@SJuliez SJuliez commented May 12, 2024

  • Fixes an obvious error that made probably all large aeros invalid by not finding their bay ammo.
  • Fixes (I guess, I don't see how this could have worked before) a test class. I moved around stuff in there but the main change is calling EquipmentType.initializeTypes() before the tests.

Copy link
Collaborator

@Sleet01 Sleet01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
It probably worked previously because the Dropship BLK strings would load even without the equipment being initialized, because cargo bays weren't "equipment" per se.
I imagine that things are stricter now, after all the updates in .20.

@HammerGS HammerGS closed this in 8d913ad May 16, 2024
@Sleet01 Sleet01 reopened this May 16, 2024
@Sleet01 Sleet01 merged commit b1900fd into MegaMek:master May 16, 2024
@SJuliez SJuliez deleted the bay-ammo-correction branch May 17, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants