From e7ec87465d53d54e3e9c901440f3636a81e7096b Mon Sep 17 00:00:00 2001 From: pas2704 Date: Sun, 3 Nov 2024 14:38:53 -0500 Subject: [PATCH] Fix duplicate type from introspection patches --- CringeLauncher/Patches/IntrospectionPatches.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CringeLauncher/Patches/IntrospectionPatches.cs b/CringeLauncher/Patches/IntrospectionPatches.cs index 0422dd5..aca54ef 100644 --- a/CringeLauncher/Patches/IntrospectionPatches.cs +++ b/CringeLauncher/Patches/IntrospectionPatches.cs @@ -38,8 +38,7 @@ public static class IntrospectionPatches //mods need to look for specific derived types Debug.WriteLine($"Getting special types for {__instance.FullName}"); var module = __instance.GetMainModule(); - __result = IntrospectionContext.Global.CollectDerivedTypes(module) - .Concat(IntrospectionContext.Global.CollectDerivedTypes(module)) + __result = IntrospectionContext.Global.CollectDerivedTypes(module) .Concat(IntrospectionContext.Global.CollectDerivedTypes(module)) .Concat(IntrospectionContext.Global.CollectAttributedTypes(module)) .Concat(IntrospectionContext.Global.CollectDerivedTypes(module))