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

@ -187,17 +187,9 @@ namespace RJW_Menstruation
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);
Log.Message(parent.pawn.Label + "breast tick scheduler removed");
base.CompPostPostRemoved();
}
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(action);
Log.Message(parent.pawn.Label + "breast tick scheduler removed");
base.CompPostPostRemoved();
}
protected long CalculateLastBirth()

View File

@ -542,22 +542,11 @@ namespace RJW_Menstruation
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);
Log.Message(parent.pawn.Label + "tick scheduler removed");
base.CompPostPostRemoved();
}
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(actionref);
Log.Message(parent.pawn.Label + "tick scheduler removed");
base.CompPostPostRemoved();
}
/// <summary>
/// Get fluid in womb that not a cum
/// </summary>