mirror of
				https://github.com/amevarashi/RJW-Sexperience.git
				synced 2024-08-14 23:54:08 +00:00 
			
		
		
		
	Added pawn.Spawned check before spawning blood filth
This commit is contained in:
		
							parent
							
								
									e79b0d7fec
								
							
						
					
					
						commit
						e37f45399e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,7 +53,7 @@ namespace RJWSexperience.Virginity
 | 
			
		|||
				return null;
 | 
			
		||||
 | 
			
		||||
			int degree = virgin.Degree;
 | 
			
		||||
			if (pawn.gender == Gender.Female && degree > 0 && !pawn.Dead)
 | 
			
		||||
			if (pawn.gender == Gender.Female && degree > 0 && pawn.Spawned && !pawn.Dead)
 | 
			
		||||
			{
 | 
			
		||||
				FilthMaker.TryMakeFilth(pawn.Position, pawn.Map, ThingDefOf.Filth_Blood, pawn.LabelShort, 1, FilthSourceFlags.Pawn);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue