MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
131 stars 168 forks source link

Fixed Multiple Award Set Logic in autoAwards #4941

Open IllianiCBT opened 2 days ago

IllianiCBT commented 2 days ago

Fixed the logic for how autoAwards handles multiple award sets. Previously it was duplicating individual awards based on the total number of award sets present.

Closes #4826

codecov-commenter commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 10.45%. Comparing base (90ea1b7) to head (be8eed7). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4941 +/- ## ============================================ + Coverage 10.44% 10.45% +0.01% - Complexity 5998 6008 +10 ============================================ Files 951 951 Lines 132874 132871 -3 Branches 19329 19327 -2 ============================================ + Hits 13873 13887 +14 + Misses 117653 117634 -19 - Partials 1348 1350 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.