mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
reduction of unnecessary inspections
This commit is contained in:
parent
b21fc85a29
commit
cdfe9b44b8
1 changed files with 1 additions and 4 deletions
|
@ -274,10 +274,7 @@ namespace RJW_Menstruation
|
||||||
//List<ThingComp> milkcomp = pawn.AllComps.FindAll(x => x is CompMilkable || x.GetType().ToString().ToLower().Contains("milkable"));
|
//List<ThingComp> milkcomp = pawn.AllComps.FindAll(x => x is CompMilkable || x.GetType().ToString().ToLower().Contains("milkable"));
|
||||||
ThingComp milkcomp = null;
|
ThingComp milkcomp = null;
|
||||||
float res = 0;
|
float res = 0;
|
||||||
if (VariousDefOf.Hediff_Heavy_Lactating_Permanent != null
|
if (VariousDefOf.Hediff_Heavy_Lactating_Permanent != null)
|
||||||
|| VariousDefOf.Hediff_Lactating_Permanent != null
|
|
||||||
|| VariousDefOf.Hediff_Lactating_Natural != null
|
|
||||||
|| VariousDefOf.Hediff_Lactating_Drug != null)
|
|
||||||
{
|
{
|
||||||
if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)
|
if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)
|
||||||
|| pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Permanent)
|
|| pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Permanent)
|
||||||
|
|
Loading…
Reference in a new issue