mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	temp fix for nude
This commit is contained in:
		
							parent
							
								
									ac6deb9553
								
							
						
					
					
						commit
						f24f95bf53
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -104,14 +104,10 @@ namespace Rimworld_Animations {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				IntVec3 pos = pawn.Position;
 | 
									IntVec3 pos = pawn.Position;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if(pawnsToAnimate.Count > anim.actors.Count)
 | 
									for (int i = 0; i < anim.actors.Count; i++)
 | 
				
			||||||
                {
 | 
									{
 | 
				
			||||||
					for(int i = anim.actors.Count; i < pawnsToAnimate.Count; i++)
 | 
										pawnsToAnimate[i].TryGetComp<CompBodyAnimator>().isAnimating = false;
 | 
				
			||||||
                    {
 | 
									}
 | 
				
			||||||
						pawnsToAnimate[i].TryGetComp<CompBodyAnimator>().isAnimating = false;
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
				for (int i = 0; i < pawnsToAnimate.Count; i++) {
 | 
									for (int i = 0; i < pawnsToAnimate.Count; i++) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,6 +44,10 @@ namespace Rimworld_Animations
 | 
				
			||||||
							(target as Pawn).GainComfortFromCellIfPossible(false);
 | 
												(target as Pawn).GainComfortFromCellIfPossible(false);
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
										if(!__instance.isEndytophile)
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
											SexUtility.DrawNude(pawn, false);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				return false;
 | 
									return false;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue