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

Fixed Clan Creche Graduation in Education Module #4127

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

IllianiCBT
Copy link
Collaborator

This update resolves a typo in the clan creche graduation process. I also removed a number of 'TODO's that got missed by #4118.

This PR must be merged after #4118.

IllianiCBT and others added 5 commits May 31, 2024 19:52
- Extended education condition to cover awaiting sibko assignment stage
- Refactored graduationPicker call and following actions based on education stage
- Removed TODO comments related to autoAwards linking in graduation methods
- Added initial setEduEducationStage call in clearEducation method of Person class
@IllianiCBT IllianiCBT changed the title Education Creche Graduation in Education Module Fixed Education Creche Graduation in Education Module Jun 2, 2024
@IllianiCBT IllianiCBT changed the title Fixed Education Creche Graduation in Education Module Fixed Clan Creche Graduation in Education Module Jun 2, 2024
@IllianiCBT IllianiCBT self-assigned this Jun 3, 2024
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues labels Jun 3, 2024
// is person on campus and undergoing education?
if (educationStage == 2) {
// is person on campus and undergoing education, or awaiting assignment to a sibko?
if ((educationStage == 2) || (educationStage == 3)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would ideally be an enum like EducationStage.ON_CAMPUS, EducationStage.AWAITING_SIBKO

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good call! That never even occurred to me. I'll see it done

@SJuliez SJuliez merged commit 924bfc2 into MegaMek:master Jun 6, 2024
4 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.

2 participants