Fix code indentations

This commit is contained in:
amevarashi 2022-06-04 12:13:57 +05:00
parent beff83656e
commit b87dc1de87
1 changed files with 16 additions and 16 deletions

View File

@ -72,25 +72,25 @@ namespace RJWSexperience
{ {
xxx.rjwSextype sextype = props.sexType; xxx.rjwSextype sextype = props.sexType;
bool sexFillsCumbuckets = bool sexFillsCumbuckets =
// Base: Fill Cumbuckets on Masturbation. Having no partner means it must be masturbation too // Base: Fill Cumbuckets on Masturbation. Having no partner means it must be masturbation too
sextype == xxx.rjwSextype.Masturbation || props.partner == null sextype == xxx.rjwSextype.Masturbation || props.partner == null
// Depending on configuration, also fill cumbuckets when certain sextypes are matched // 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)); || (SexperienceMod.Settings.SexCanFillBuckets && (sextype == xxx.rjwSextype.Boobjob || sextype == xxx.rjwSextype.Footjob || sextype == xxx.rjwSextype.Handjob));
if (sexFillsCumbuckets) if (sexFillsCumbuckets)
{ {
IEnumerable<Building_CumBucket> buckets = props.pawn.GetAdjacentBuildings<Building_CumBucket>(); IEnumerable<Building_CumBucket> buckets = props.pawn.GetAdjacentBuildings<Building_CumBucket>();
if (buckets?.EnumerableCount() > 0) if (buckets?.EnumerableCount() > 0)
{ {
var initialCum = CumUtility.GetCumVolume(props.pawn); var initialCum = CumUtility.GetCumVolume(props.pawn);
foreach (Building_CumBucket bucket in buckets) foreach (Building_CumBucket bucket in buckets)
{ {
bucket.AddCum(initialCum / buckets.EnumerableCount()); bucket.AddCum(initialCum / buckets.EnumerableCount());
} }
} }
} }
} }
} }