Little simplification in cumout

This commit is contained in:
lutepickle 2022-08-27 06:50:51 -07:00
parent 1126d8f3e5
commit 71e6a2dd5c

View file

@ -821,7 +821,7 @@ namespace RJW_Menstruation
if (cums.NullOrEmpty()) return;
if (TotalCum > Props.maxCumCapacity * Pawn.BodySize) leakfactor = Math.Min(1 + (TotalCum - Props.maxCumCapacity * Pawn.BodySize) / 10, 2f);
if (absorber != null && absorber.dirty && !absorber.LeakAfterDirty) leakfactor = 0f;
if (Pawn.jobs?.curJob?.def == xxx.knotted) leakfactor = 0f;
if (Pawn.CurJobDef == xxx.knotted) leakfactor = 0f;
List<Cum> removecums = new List<Cum>();
foreach (Cum cum in cums)
{