mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Update BepInEx/Configuration/TomlTypeConverter.cs
Co-authored-by: Geoffrey Horsington <neigh@coder.horse>
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user