mirror of
				https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
				synced 2024-08-15 00:43:27 +00:00 
			
		
		
		
	v 1.2.3
This commit is contained in:
		
							parent
							
								
									3e8476ce8a
								
							
						
					
					
						commit
						d18d422a94
					
				
					 15 changed files with 68 additions and 39 deletions
				
			
		| 
						 | 
				
			
			@ -28,7 +28,7 @@ namespace Rimworld_Animations_Patch
 | 
			
		|||
            if (pawn == null)
 | 
			
		||||
            { pawn = parent as Pawn; }
 | 
			
		||||
 | 
			
		||||
            if (pawn == null || pawn.Map != Find.CurrentMap || bodyAddon == null) return null;
 | 
			
		||||
            if (pawn == null || (pawn.Map != Find.CurrentMap && pawn.holdingOwner == null) || bodyAddon == null) return null;
 | 
			
		||||
            
 | 
			
		||||
            if (isPortrait)
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			@ -56,10 +56,10 @@ namespace Rimworld_Animations_Patch
 | 
			
		|||
        public void UpdateBodyAddonVisibility()
 | 
			
		||||
        {
 | 
			
		||||
            foreach (KeyValuePair<AlienPartGenerator.BodyAddon, BodyAddonData> kvp in bodyAddonData)
 | 
			
		||||
            { kvp.Value.UpdateVisibility(); }
 | 
			
		||||
            { kvp.Value?.UpdateVisibility(); }
 | 
			
		||||
 | 
			
		||||
            foreach (KeyValuePair<AlienPartGenerator.BodyAddon, BodyAddonData> kvp in bodyAddonDataPortraits)
 | 
			
		||||
            { kvp.Value.UpdateVisibility(); }
 | 
			
		||||
            { kvp.Value?.UpdateVisibility(); }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void UpdateHands()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue