Don't lock public toggle on local games

This commit is contained in:
js6pak committed 2022-10-04 21:57:23 +02:00
1 parent 6be7629187
commit 5cc08363c7
1 file changed
+1
@@ -102,6 +102,7 @@ internal static class HttpPatches
{
public static void Postfix(GameStartManager __instance)
{
if (AmongUsClient.Instance.GameMode != GameModes.OnlineGame) return;
if (ModList.Current.Any(m => m.IsRequiredOnAllClients) && !IsCurrentRegionModded())
{
Warning("Vanilla region, locking public toggle");