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

Added Education Module Handler for Injured Personnel #4563

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Injured personnel are no longer able to attend academies. Furthermore, the placeholder code included while education level was missing from new characters has been removed, as it is no longer necessary.

Closes #4555

Injured personnel are no longer able to attend academies. Furthermore, the placeholder code included while education level was missing from new characters has been removed, as it is no longer necessary.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues labels Aug 7, 2024
@IllianiCBT IllianiCBT self-assigned this Aug 7, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.32%. Comparing base (b5ff179) to head (b7eda62).
Report is 6 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4563      +/-   ##
============================================
- Coverage     10.32%   10.32%   -0.01%     
  Complexity     5816     5816              
============================================
  Files           935      935              
  Lines        128792   128801       +9     
  Branches      18951    18950       -1     
============================================
  Hits          13296    13296              
- Misses       114220   114229       +9     
  Partials       1276     1276              

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

# Conflicts:
#	MekHQ/src/mekhq/gui/adapter/PersonnelTableMouseAdapter.java
Simplified the logic for displaying the education menu by reorganizing the condition checks. The campaign variable is now stored before the checks to avoid multiple calls.
@IllianiCBT IllianiCBT merged commit e7898c1 into MegaMek:master Aug 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFE: Education - Prevent injured personnel from being sent on educations.
3 participants