Ligth refactor of FillCumBuckets

This commit is contained in:
amevarashi 2022-06-04 12:33:58 +05:00
parent b87dc1de87
commit 39d3b44142
1 changed files with 9 additions and 9 deletions

View File

@ -78,8 +78,9 @@ namespace RJWSexperience
// Depending on configuration, also fill cumbuckets when certain sextypes are matched
|| (SexperienceMod.Settings.SexCanFillBuckets && (sextype == xxx.rjwSextype.Boobjob || sextype == xxx.rjwSextype.Footjob || sextype == xxx.rjwSextype.Handjob));
if (sexFillsCumbuckets)
{
if (!sexFillsCumbuckets)
return;
IEnumerable<Building_CumBucket> buckets = props.pawn.GetAdjacentBuildings<Building_CumBucket>();
if (buckets?.EnumerableCount() > 0)
@ -92,7 +93,6 @@ namespace RJWSexperience
}
}
}
}
[HarmonyPatch(typeof(SexUtility), "TransferNutrition")]
public static class RJW_Patch_TransferNutrition