Skip to content

Commit dd8caf4

Browse files
authored
Merge pull request #7314 from IllianiBird/timeTravelingBabies
Fix: #7285 Fixed Babies Ripping Holes in the Space Time Continuum and Being Simultaneously Born Both in the Past and Future
2 parents 20efff0 + f5d8eb2 commit dd8caf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MekHQ/src/mekhq/campaign/Campaign.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,15 +2327,15 @@ private void simulateRelationshipHistory(Person person) {
23272327
}
23282328

23292329
if ((person.isPregnant()) && (currentDate.isAfter(person.getDueDate()))) {
2330-
currentChildren.addAll(getProcreation().birthHistoric(this, localDate, person, babysFather));
2330+
currentChildren.addAll(getProcreation().birthHistoric(this, currentDate, person, babysFather));
23312331
babysFather = null;
23322332
}
23332333

23342334
if ((currentSpouse != null) &&
23352335
(currentSpouse.isPregnant()) &&
23362336
(currentDate.isAfter(currentSpouse.getDueDate()))) {
23372337
currentChildren.addAll(getProcreation().birthHistoric(this,
2338-
localDate,
2338+
currentDate,
23392339
currentSpouse,
23402340
spousesBabysFather));
23412341
spousesBabysFather = null;

0 commit comments

Comments
 (0)