only local game

This commit is contained in:
Gurge44 committed 2024-06-06 19:18:26 +02:00
1 parent 4a0ab65442
commit 5b699f025a
1 file changed
+2
+2
View File
@@ -30,6 +30,8 @@ internal class ChangeRoleSettings
{
public static bool Prefix(AmongUsClient __instance)
{
if (!GameStates.IsLocalGame) return true;
__instance.StartCoroutine(CSG().WrapToIl2Cpp());
return false;