SafeSkinColor needs to catch InvalidOperationException, too, it seems

This commit is contained in:
lutepickle 2023-03-17 07:01:55 -07:00
parent 93855c5ee7
commit f7348ccee8
1 changed files with 4 additions and 0 deletions

View File

@ -463,6 +463,10 @@ namespace RJW_Menstruation
{
return Color.white;
}
catch (InvalidOperationException) // And sometimes it can try to pull the value of a Nullable without checking, too
{
return Color.white;
}
}
}
}