mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Apply cramps to the comp's parent part instead of going through RJW to find it
This commit is contained in:
parent
f8913d1ec5
commit
924dc73024
1 changed files with 1 additions and 1 deletions
|
@ -1596,7 +1596,7 @@ namespace RJW_Menstruation
|
|||
hediff.Severity = crampPain * Rand.Range(0.9f, 1.1f);
|
||||
HediffCompProperties_SeverityPerDay Prop = (HediffCompProperties_SeverityPerDay)hediff.TryGetComp<HediffComp_SeverityPerDay>().props;
|
||||
Prop.severityPerDay = -hediff.Severity / (currentIntervalTicks / GenDate.TicksPerDay) * Configurations.CycleAcceleration;
|
||||
Pawn.health.AddHediff(hediff, Genital_Helper.get_genitalsBPR(Pawn));
|
||||
Pawn.health.AddHediff(hediff, parent.Part);
|
||||
}
|
||||
|
||||
protected virtual void FollicularAction()
|
||||
|
|
Loading…
Reference in a new issue