mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Ligth refactor of FillCumBuckets
This commit is contained in:
parent
b87dc1de87
commit
39d3b44142
1 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue