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

Set techlevel of armor in specific location, not entire mek, when setting patchwork armor #1634

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

pavelbraginskiy
Copy link
Collaborator

Requires MegaMek/megamek#6078 to produce correct mixed-tech patchwork armor mtfs.

Currently, setting the armor in one location sets the armor tech level of every location, creating situations where we try to load a unit with Heavy Ferro-Fibrous (Clan) and other nonsense armors.

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.17%. Comparing base (24894d9) to head (148b93b).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##             master   #1634   +/-   ##
========================================
  Coverage      2.17%   2.17%           
  Complexity      209     209           
========================================
  Files           266     266           
  Lines         30760   30758    -2     
  Branches       5260    5259    -1     
========================================
  Hits            669     669           
+ Misses        29934   29932    -2     
  Partials        157     157           

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

@HammerGS HammerGS merged commit b3e3b1b into MegaMek:master Oct 8, 2024
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.

2 participants