mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	Fix error trying to find reorder for anim not found
This commit is contained in:
		
							parent
							
								
									138ac25019
								
							
						
					
					
						commit
						5bd9bf0ca7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -96,7 +96,7 @@ namespace Rimworld_Animations {
 | 
				
			||||||
                .TryMaxBy((GroupAnimationDef x) => x.Priority(participants), out GroupAnimationDef result);
 | 
					                .TryMaxBy((GroupAnimationDef x) => x.Priority(participants), out GroupAnimationDef result);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            reorder = result.Reorder(participants);
 | 
					            reorder = result != null ? result.Reorder(participants) : 0;
 | 
				
			||||||
            return result;
 | 
					            return result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue