Remove rjw.WorkGiver_CleanSelf patch

This commit is contained in:
amevarashi 2022-06-13 10:54:47 +05:00
parent 784abb6036
commit 2a6213e043

View file

@ -187,23 +187,6 @@ namespace RJWSexperience
}
}
[HarmonyPatch(typeof(WorkGiver_CleanSelf), "JobOnThing")]
public static class RJW_Patch_CleanSelf_JobOnThing
{
public static bool Prefix(Pawn pawn, Thing t, bool forced, ref Job __result)
{
Building_CumBucket bucket = pawn.GetAdjacentBuilding<Building_CumBucket>();
if (bucket == null) bucket = pawn.FindClosestBucket();
if (bucket != null)
{
__result = JobMaker.MakeJob(VariousDefOf.CleanSelfwithBucket, null, bucket, bucket.Position);
return false;
}
return true;
}
}
[HarmonyPatch(typeof(CasualSex_Helper), nameof(CasualSex_Helper.FindSexLocation))]
public static class RJW_Patch_CasualSex_Helper_FindSexLocation
{