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

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;
}
}
}
}