forked from zombieb/undead-universal-patch-il2cpp
haha forgot to push,,,
This commit is contained in:
@@ -37,11 +37,11 @@ public class DediConfig<T>
|
||||
if (loaded) return cached;
|
||||
|
||||
string data = GetAlways();
|
||||
cached = JsonSerializer.Deserialize<T>(data, _options == null ? new JsonSerializerOptions()
|
||||
cached = JsonSerializer.Deserialize<T>(data, _options ?? new JsonSerializerOptions()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
AllowTrailingCommas = true
|
||||
} : _options);
|
||||
});
|
||||
|
||||
loaded = true;
|
||||
return cached;
|
||||
|
||||
Reference in New Issue
Block a user