Skip to content

Commit

Permalink
Issue 5236 - My Mechwarrior Won't Stop Having Babies - Corrected GetA…
Browse files Browse the repository at this point in the history
…cademy parameter
  • Loading branch information
psikomonkie committed Nov 25, 2024
1 parent 6975c49 commit 09f869b
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 09f869b

Please sign in to comment.