mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Don't lock public toggle on local games
This commit is contained in:
1 file changed
+1
@@ -102,6 +102,7 @@ internal static class HttpPatches
|
|||||||
{
|
{
|
||||||
public static void Postfix(GameStartManager __instance)
|
public static void Postfix(GameStartManager __instance)
|
||||||
{
|
{
|
||||||
|
if (AmongUsClient.Instance.GameMode != GameModes.OnlineGame) return;
|
||||||
if (ModList.Current.Any(m => m.IsRequiredOnAllClients) && !IsCurrentRegionModded())
|
if (ModList.Current.Any(m => m.IsRequiredOnAllClients) && !IsCurrentRegionModded())
|
||||||
{
|
{
|
||||||
Warning("Vanilla region, locking public toggle");
|
Warning("Vanilla region, locking public toggle");
|
||||||
|
|||||||
Reference in new issue
Block a user