Little refactor in fertilize()

This commit is contained in:
lutepickle 2024-03-28 15:08:35 -07:00
parent c9369028fa
commit 18af2fc24c

View file

@ -1340,9 +1340,9 @@ namespace RJW_Menstruation
protected Pawn Fertilize()
{
if (cums.NullOrEmpty()) return null;
if (cums == null) return null;
List<Cum> eligibleCum = cums.FindAll(cum => CumCanFertilize(cum));
if (eligibleCum.Count == 0) return null;
if (eligibleCum.Empty()) return null;
float totalFertPower = eligibleCum.Sum(cum => cum.FertVolume);