mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Null check for pawn job in GetOvaryIcon
This commit is contained in:
parent
3d9b22776e
commit
36c88d2752
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ namespace RJW_Menstruation
|
|||
bool isInduced = comp is HediffComp_InducedOvulator;
|
||||
if (comp.curStage == HediffComp_Menstruation.Stage.Follicular &&
|
||||
isInduced &&
|
||||
comp.Pawn.jobs.curDriver is JobDriver_Sex job &&
|
||||
comp.Pawn.jobs?.curDriver is JobDriver_Sex job &&
|
||||
job.Sexprops != null &&
|
||||
!UsingCondom(comp.Pawn, job.Partner) &&
|
||||
(job.Sexprops.sexType == xxx.rjwSextype.Vaginal || job.Sexprops.sexType == xxx.rjwSextype.DoublePenetration))
|
||||
|
|
Loading…
Reference in a new issue