8000 Prisoners will No Longer Be Executed when Security is Told to 'Free' Them by IllianiBird · Pull Request #6521 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prisoners will No Longer Be Executed when Security is Told to 'Free' Them #6521

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

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Added a boolean isExecution parameter to processPrisonerResolutionCommand to handle execution-specific logic.
  • Updated all call sites to pass the appropriate flag for execution-related commands.
  • Deprecated the old processPrisonerResolutionCommand method in favor of the new one, marking it for future removal.

Dev Notes

When the player ordered their PoWs 'freed' via the right-click personnel menu, MekHQ was murdering them instead. Complete with a hit to the player's Reputation.

…Them.

- Added a `boolean isExecution` parameter to `processPrisonerResolutionCommand` to handle execution-specific logic.
- Updated all call sites to pass the appropriate flag for execution-related commands.
- Deprecated the old `processPrisonerResolutionCommand` method in favor of the new one, marking it for future removal.
@IllianiBird IllianiBird added Bug Severity: High Issues described as high severity as per the new issue form labels Apr 1, 2025
@IllianiBird IllianiBird self-assigned this Apr 1, 2025
Copy link
codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.28%. Comparing base (dbec8a9) to head (e3a1248).
Report is 31 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6521      +/-   ##
============================================
- Coverage     11.28%   11.28%   -0.01%     
+ Complexity     6323     6319       -4     
============================================
  Files          1080     1080              
  Lines        137528   137531       +3     
  Branches      21295    21296       +1     
============================================
- Hits          15516    15515       -1     
  Misses       120463   120463              
- Partials       1549     1553       +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.

@rjhancock rjhancock merged commit 4eba775 into MegaMek:master Apr 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Severity: High Issues described as high severity as per the new issue form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0