Only show the "tick scheduler removed" messages when debug is enabled
This commit is contained in:
parent
d8fcb15f39
commit
2407b52e3b
|
@ -190,7 +190,7 @@ namespace RJW_Menstruation
|
|||
return;
|
||||
}
|
||||
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(action);
|
||||
Log.Message(parent.pawn.Label + " breast tick scheduler removed");
|
||||
if (Configurations.Debug) Log.Message(parent.pawn.Label + " breast tick scheduler removed");
|
||||
base.CompPostPostRemoved();
|
||||
}
|
||||
|
||||
|
|
|
@ -517,7 +517,7 @@ namespace RJW_Menstruation
|
|||
return;
|
||||
}
|
||||
HugsLibController.Instance.TickDelayScheduler.TryUnscheduleCallback(actionref);
|
||||
Log.Message(parent.pawn.Label + " tick scheduler removed");
|
||||
if (Configurations.Debug) Log.Message(parent.pawn.Label + " menstruation tick scheduler removed");
|
||||
pregnancy?.Miscarry();
|
||||
base.CompPostPostRemoved();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue