mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
removed redundant code
This commit is contained in:
parent
e8313765f4
commit
f084fa0df3
2 changed files with 0 additions and 21 deletions
Binary file not shown.
|
@ -13,27 +13,6 @@ using Verse.AI;
|
||||||
namespace Rimworld_Animations
|
namespace Rimworld_Animations
|
||||||
{
|
{
|
||||||
|
|
||||||
[HarmonyPatch(typeof(Bed_Utility), "in_same_bed")]
|
|
||||||
public static class HarmonyPatch_JobDriver_InSameBedPatch
|
|
||||||
{
|
|
||||||
|
|
||||||
public static bool Prefix(Pawn partner, ref bool __result)
|
|
||||||
{
|
|
||||||
|
|
||||||
if(partner != null && partner.CurJobDef == xxx.casual_sex)
|
|
||||||
{
|
|
||||||
__result = true;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[HarmonyPatch(typeof(JobDriver_JoinInBed), "MakeNewToils")]
|
[HarmonyPatch(typeof(JobDriver_JoinInBed), "MakeNewToils")]
|
||||||
public static class HarmonyPatch_JobDriver_JoinInBed
|
public static class HarmonyPatch_JobDriver_JoinInBed
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue