Update BepInEx/Configuration/TomlTypeConverter.cs

Co-authored-by: Geoffrey Horsington <neigh@coder.horse>
This commit is contained in:
ManlyMarcoandGeoffrey Horsington authored and GitHub committed 2022-11-14 19:47:46 +01:00
1 parent 1162baf582
commit 1a0d73e122
1 file changed
+2
@@ -351,6 +351,8 @@ namespace BepInEx.Configuration
private static object StringToRect(string s, Type type)
{
// JsonUtility doesn't work with Rect on all Unity versions, so parse it manually
Rect result = default(Rect);
if (s == null)