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

Stopped Scenarios Pulling Units from the Hangar #5137

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Certain scenarios are set up to substitute enemy units with player units. Typically, this is the DropShip scenarios optionally using player DropShips. Previously, this could pull units from the players' hangar. Now it is restricted to units in the TO&E.

Certain scenarios are set up to substitute enemy units with player units. Typically, this is the DropShip scenarios optionally using player DropShips. Previously, this could pull units from the players' hangar. Now it is restricted to units in the TO&E.
@IllianiCBT IllianiCBT added StratCon Bugs relating strictly to StratCon UX User experience labels Oct 27, 2024
@IllianiCBT IllianiCBT self-assigned this Oct 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.54%. Comparing base (fb6c52a) to head (1890f9e).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5137   +/-   ##
=========================================
  Coverage     10.53%   10.54%           
- Complexity     6041     6050    +9     
=========================================
  Files           956      956           
  Lines        134253   134270   +17     
  Branches      19501    19507    +6     
=========================================
+ Hits          14142    14156   +14     
- Misses       118760   118763    +3     
  Partials       1351     1351           

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

@IllianiCBT
Copy link
Collaborator Author

Closing as resolved

@IllianiCBT IllianiCBT closed this Oct 28, 2024
@IllianiCBT
Copy link
Collaborator Author

Closed the wrong case - reopening

@IllianiCBT IllianiCBT reopened this Oct 28, 2024
Revised the logic for determining eligible units in the campaign. Made all units in the TO&E eligible by default and handled units using a seed force separately for transport eligibility. Improved error handling and logging during unit retrieval.
@HammerGS HammerGS merged commit cb7a453 into MegaMek:master Oct 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
StratCon Bugs relating strictly to StratCon UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants