Give eggs the proper lifetime

This commit is contained in:
lutepickle 2023-04-16 12:20:01 -07:00
parent eddccdc2ea
commit 4af5195de9
1 changed files with 2 additions and 2 deletions

View File

@ -1968,10 +1968,10 @@ namespace RJW_Menstruation
ageTicks = 0; ageTicks = 0;
} }
public Egg(int lifespanhrs) public Egg(int lifespanticks)
{ {
fertilized = false; fertilized = false;
lifeSpanTicks = (int)(lifespanhrs * GenDate.TicksPerHour * Configurations.EggLifespanMultiplier); lifeSpanTicks = (int)(lifespanticks * Configurations.EggLifespanMultiplier);
fertilizer = null; fertilizer = null;
ageTicks = 0; ageTicks = 0;
} }