From 1f41cf8c3242d2488f0ea3a5de4a83b335b8dad6 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 22 Feb 2022 23:40:08 -0800 Subject: [PATCH] DebugSettings: use MemberSerialization.OptIn so it only deserializes fields/properties with JsonPropertyAttribute --- QSB/Utility/DebugSettings.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/QSB/Utility/DebugSettings.cs b/QSB/Utility/DebugSettings.cs index bee7193c..d49f0489 100644 --- a/QSB/Utility/DebugSettings.cs +++ b/QSB/Utility/DebugSettings.cs @@ -2,6 +2,7 @@ namespace QSB.Utility { + [JsonObject(MemberSerialization.OptIn)] public class DebugSettings { [JsonProperty("useKcpTransport")]