mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	SafeSkinColor needs to catch InvalidOperationException, too, it seems
This commit is contained in:
		
							parent
							
								
									93855c5ee7
								
							
						
					
					
						commit
						f7348ccee8
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -463,6 +463,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                return Color.white;
 | 
					                return Color.white;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            catch (InvalidOperationException)   // And sometimes it can try to pull the value of a Nullable without checking, too
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Color.white;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue