From 43c43cc0b20895fdfe50cacb4eda753187152c46 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Thu, 5 Mar 2020 20:27:55 -0600 Subject: [PATCH] Added check for HasConverter during correction phase --- IPA.Loader/Config/Stores/GeneratedStoreImpl.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IPA.Loader/Config/Stores/GeneratedStoreImpl.cs b/IPA.Loader/Config/Stores/GeneratedStoreImpl.cs index c8f776c5..2416a903 100644 --- a/IPA.Loader/Config/Stores/GeneratedStoreImpl.cs +++ b/IPA.Loader/Config/Stores/GeneratedStoreImpl.cs @@ -1270,6 +1270,7 @@ namespace IPA.Config.Stores #region Correction private static bool NeedsCorrection(SerializedMemberInfo member) { + if (member.HasConverter) return false; var expectType = GetExpectedValueTypeForType(member.IsNullable ? member.NullableWrappedType : member.Type); if (expectType == typeof(Map)) // TODO: make this slightly saner