mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Little refactor in fertilize()
This commit is contained in:
parent
c9369028fa
commit
18af2fc24c
1 changed files with 2 additions and 2 deletions
|
@ -1340,9 +1340,9 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
protected Pawn Fertilize()
|
protected Pawn Fertilize()
|
||||||
{
|
{
|
||||||
if (cums.NullOrEmpty()) return null;
|
if (cums == null) return null;
|
||||||
List<Cum> eligibleCum = cums.FindAll(cum => CumCanFertilize(cum));
|
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);
|
float totalFertPower = eligibleCum.Sum(cum => cum.FertVolume);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue