Undo the CompPostPostRemoved checks, if nothing else to see what bug made them be added in the first place

This commit is contained in:
lutepickle 2022-07-11 09:03:20 -07:00
parent 902cd65375
commit 20692aaf13
2 changed files with 6 additions and 25 deletions

View file

@ -186,19 +186,11 @@ namespace RJW_Menstruation
} }
public override void CompPostPostRemoved() public override void CompPostPostRemoved()
{
if (parent?.pawn?.GetBreastComp() == this)
{
Log.Warning("Something tried to remove hediff with wrong way.");
}
else
{ {
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(action); HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(action);
Log.Message(parent.pawn.Label + "breast tick scheduler removed"); Log.Message(parent.pawn.Label + "breast tick scheduler removed");
base.CompPostPostRemoved(); base.CompPostPostRemoved();
} }
}
protected long CalculateLastBirth() protected long CalculateLastBirth()
{ {

View file

@ -541,22 +541,11 @@ namespace RJW_Menstruation
} }
public override void CompPostPostRemoved() public override void CompPostPostRemoved()
{
if (parent?.pawn?.GetMenstruationComp() == this)
{
Log.Warning("Something tried to remove hediff with wrong way.");
}
else
{ {
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(actionref); HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(actionref);
Log.Message(parent.pawn.Label + "tick scheduler removed"); Log.Message(parent.pawn.Label + "tick scheduler removed");
base.CompPostPostRemoved(); base.CompPostPostRemoved();
} }
}
/// <summary> /// <summary>
/// Get fluid in womb that not a cum /// Get fluid in womb that not a cum