Files
se-launcher/CringeLauncher/Patches/TypeTableRegisterPatch.cs
zznty fbf02ad716
All checks were successful
Build / Build Launcher (push) Successful in 2m17s
move client mods updates to actual steam api
2024-05-31 17:56:24 +07:00

14 lines
361 B
C#

using HarmonyLib;
using VRage.Network;
namespace CringeLauncher.Patches;
[HarmonyPatch(typeof(MyTypeTable), "IsSerializableClass")]
public static class TypeTableRegisterPatch
{
private static void Postfix(Type type, ref bool __result)
{
if (type == typeof(Delegate) || type == typeof(MulticastDelegate))
__result = true;
}
}