From 5b699f025a3d6e04ea52cf82597095c0bc248109 Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Thu, 6 Jun 2024 19:18:26 +0200 Subject: [PATCH] only local game --- Patches/OnGameStartedPatch.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Patches/OnGameStartedPatch.cs b/Patches/OnGameStartedPatch.cs index 7f36eeafe..906762798 100644 --- a/Patches/OnGameStartedPatch.cs +++ b/Patches/OnGameStartedPatch.cs @@ -30,6 +30,8 @@ internal class ChangeRoleSettings { public static bool Prefix(AmongUsClient __instance) { + if (!GameStates.IsLocalGame) return true; + __instance.StartCoroutine(CSG().WrapToIl2Cpp()); return false;