Skip to content

Commit

Permalink
Merge pull request #4041 from IllianiCBT/isChild_updateAge
Browse files Browse the repository at this point in the history
Updated isChild()
  • Loading branch information
HammerGS authored May 16, 2024
2 parents 0a93f89 + 1d081fc commit ebd9b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/personnel/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ public UUID getId() {
}

public boolean isChild(final LocalDate today) {
return getAge(today) <= 13;
return getAge(today) < 18;
}

public Genealogy getGenealogy() {
Expand Down

0 comments on commit ebd9b54

Please sign in to comment.