Skip to content

Fix #9060: Fix temps crews not reassigning to unmothballed vehicles#9098

Merged
IllianiBird merged 1 commit into
MegaMek:mainfrom
psikomonkie:issue/9060/unmothball-temp-crew
May 26, 2026
Merged

Fix #9060: Fix temps crews not reassigning to unmothballed vehicles#9098
IllianiBird merged 1 commit into
MegaMek:mainfrom
psikomonkie:issue/9060/unmothball-temp-crew

Conversation

@psikomonkie
Copy link
Copy Markdown
Member

Fixes #9060

Save temp crew info in MothballInfo, restore when restoring

@psikomonkie psikomonkie requested a review from a team as a code owner May 25, 2026 21:30
@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

❌ Patch coverage is 0% with 40 lines in your changes missing coverage. Please review.
✅ Project coverage is 15.18%. Comparing base (a361ba0) to head (a1ce961).
⚠️ Report is 30 commits behind head on main.

Files with missing lines Patch % Lines
MekHQ/src/mekhq/campaign/unit/MothballInfo.java 0.00% 39 Missing ⚠️
MekHQ/src/mekhq/campaign/unit/Unit.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9098      +/-   ##
============================================
- Coverage     15.23%   15.18%   -0.05%     
+ Complexity     9305     9298       -7     
============================================
  Files          1304     1305       +1     
  Lines        172518   172960     +442     
  Branches      26063    26149      +86     
============================================
- Hits          26277    26269       -8     
- Misses       143198   143644     +446     
- Partials       3043     3047       +4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
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

@IllianiBird IllianiBird merged commit e3a8443 into MegaMek:main May 26, 2026
8 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] Temp crews do not reassign to unmothballed vehicles after transit

3 participants