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

MML #1721: legacy infantry blk files #6531

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Feb 10, 2025

Fixes MegaMek/megameklab#1721
This allows loading legacy infantry files that have a "secondn" entry but no "secondary" (a number of secondary weapons but no weapon type for it). It appears that as recently as 49.16 such files could be produced with MML. In any case, this file check/file correction doesnt hurt.

@Sleet01
Copy link
Collaborator

Sleet01 commented Feb 10, 2025

Angle brackets need backslash escaping to show up in GitHub, I believe.

@SJuliez
Copy link
Member Author

SJuliez commented Feb 10, 2025

good point :)

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.04%. Comparing base (a4f835c) to head (8b4337b).
Report is 159 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6531      +/-   ##
============================================
+ Coverage     28.56%   29.04%   +0.48%     
- Complexity    14495    15144     +649     
============================================
  Files          2815     2835      +20     
  Lines        277388   279129    +1741     
  Branches      49002    49214     +212     
============================================
+ Hits          79226    81084    +1858     
+ Misses       193446   192667     -779     
- Partials       4716     5378     +662     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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!

@HammerGS HammerGS merged commit 632b0fd into MegaMek:master Feb 11, 2025
6 checks passed
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.

[Issue] Infantry armor working on build and save but failing on load
3 participants