Skip to content

Commit

Permalink
Merge pull request #5248 from psikomonkie/issue-5236-mechwarrior-wont…
Browse files Browse the repository at this point in the history
…-stop-having-babies

Issue 5236 - My Mechwarrior Won't Stop Having Babies - Corrected GetA…
  • Loading branch information
HammerGS authored Nov 29, 2024
2 parents f9e40a5 + 09f869b commit eec6a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public void birth(final Campaign campaign, final LocalDate today, final Person m

// if the mother is at school, add the baby to the list of tag alongs
if ((mother.getEduAcademyName() != null)
&& (!EducationController.getAcademy(mother.getEduAcademyName(), mother.getEduAcademyNameInSet()).isHomeSchool())) {
&& (!EducationController.getAcademy(mother.getEduAcademySet(), mother.getEduAcademyNameInSet()).isHomeSchool())) {

mother.addEduTagAlong(baby.getId());
baby.changeStatus(campaign, today, PersonnelStatus.ON_LEAVE);
Expand Down

0 comments on commit eec6a68

Please sign in to comment.