mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Revert "Bit of a refactor to AddWombGizmos, should be nicer to the Sexperience module"
This reverts commit 3d34ed1e53.
			
			
This commit is contained in:
		
							parent
							
								
									6e841a3836
								
							
						
					
					
						commit
						28cc9755fd
					
				
					 2 changed files with 5 additions and 7 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -28,16 +28,14 @@ namespace RJW_Menstruation
 | 
			
		|||
            foreach (Gizmo gizmo in gizmos)
 | 
			
		||||
                yield return gizmo;
 | 
			
		||||
 | 
			
		||||
            foreach (Gizmo gizmo in GetMenstruationGizmos(__instance))
 | 
			
		||||
                yield return gizmo;
 | 
			
		||||
            foreach (HediffComp_Menstruation comp in __instance.GetMenstruationComps())
 | 
			
		||||
                foreach (Gizmo gizmo in GetMenstruationGizmos(__instance, comp))
 | 
			
		||||
                    yield return gizmo;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public static List<Gizmo> GetMenstruationGizmos(Pawn pawn)
 | 
			
		||||
        public static List<Gizmo> GetMenstruationGizmos(Pawn pawn, HediffComp_Menstruation comp)
 | 
			
		||||
        {
 | 
			
		||||
            List<Gizmo> res = new List<Gizmo>();
 | 
			
		||||
            foreach (HediffComp_Menstruation comp in pawn.GetMenstruationComps())
 | 
			
		||||
                res.Add(CreateGizmo_WombStatus(pawn, comp));
 | 
			
		||||
            return res;
 | 
			
		||||
            return new List<Gizmo>() { CreateGizmo_WombStatus(pawn, comp) };
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue