mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Fix CoHandleSpawnPatch
This commit is contained in:
1 parent
5818041b27
commit
6381d79a18
1 file changed
+1
-1
@@ -241,7 +241,7 @@ internal static class ClientPatches
|
||||
if (ReactorConnection.Instance!.Syncer != Syncer.Host) return;
|
||||
|
||||
var wrapper = new StateMachineWrapper<InnerNetClient>(__instance);
|
||||
var ownerId = wrapper.GetParameter<int>("ownerId");
|
||||
var ownerId = wrapper.GetParameter<int>("_ownerId_5__2");
|
||||
|
||||
if (!__result && !AmongUsClient.Instance.AmHost && ownerId == AmongUsClient.Instance.ClientId)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user