mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Initialize womb when displaying gizmo if needed.
This commit is contained in:
		
							parent
							
								
									2601f88a2d
								
							
						
					
					
						commit
						ebbbf8ee7f
					
				
					 3 changed files with 2 additions and 0 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -43,6 +43,8 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private static Gizmo CreateGizmo_WombStatus(Pawn pawn, HediffComp_Menstruation comp)
 | 
					        private static Gizmo CreateGizmo_WombStatus(Pawn pawn, HediffComp_Menstruation comp)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					            if (!comp.loaded)
 | 
				
			||||||
 | 
					                comp.Initialize();
 | 
				
			||||||
            Texture2D icon, icon_overlay;
 | 
					            Texture2D icon, icon_overlay;
 | 
				
			||||||
            StringBuilder description = new StringBuilder();
 | 
					            StringBuilder description = new StringBuilder();
 | 
				
			||||||
            if (Configurations.Debug)
 | 
					            if (Configurations.Debug)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue