mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Undo the CompPostPostRemoved checks, if nothing else to see what bug made them be added in the first place
This commit is contained in:
		
							parent
							
								
									902cd65375
								
							
						
					
					
						commit
						20692aaf13
					
				
					 2 changed files with 6 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -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()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue