diff --git a/Reactor/Networking/Patches/ClientPatches.cs b/Reactor/Networking/Patches/ClientPatches.cs index fdbf03f..7374b63 100644 --- a/Reactor/Networking/Patches/ClientPatches.cs +++ b/Reactor/Networking/Patches/ClientPatches.cs @@ -112,10 +112,13 @@ namespace Reactor.Networking.Patches var coroutine = Coroutines.Start(Coroutine(__instance)); - __instance.Disconnected = (Action) ((_, _) => - { - Coroutines.Stop(coroutine); - }); + __instance.Disconnected = Il2CppSystem.Delegate.Combine( + (Il2CppSystem.EventHandler) (Action) ((_, _) => + { + Coroutines.Stop(coroutine); + }), + __instance.Disconnected + ).Cast>(); }); }