From c4270cc269d1bd1a6aeca4307dcf43e4a0addc7f Mon Sep 17 00:00:00 2001
From: Anton Sarukhanov <code@ant.sr>
Date: Sat, 5 Sep 2020 11:12:20 -0400
Subject: [PATCH] Allow up to 32 players

---
 scripts/bsGame.py     | 2 +-
 scripts/bsTeamGame.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/bsGame.py b/scripts/bsGame.py
index 96edae0..026feba 100644
--- a/scripts/bsGame.py
+++ b/scripts/bsGame.py
@@ -497,7 +497,7 @@ class Session(object):
                  teamColors=[(0.6, 0.2, 1.0)],
                  useTeamColors=True,
                  minPlayers=1,
-                 maxPlayers=8,
+                 maxPlayers=32,
                  allowMidActivityJoins=True):
         """
         Instantiate a session with the provided info about'
diff --git a/scripts/bsTeamGame.py b/scripts/bsTeamGame.py
index 294594e..17d4407 100644
--- a/scripts/bsTeamGame.py
+++ b/scripts/bsTeamGame.py
@@ -1238,12 +1238,12 @@ class TeamBaseSession(bs.Session):
             try:
                 return bs.getConfig()['Team Game Max Players']
             except Exception:
-                return 8
+                return 32
         else:
             try:
                 return bs.getConfig()['Free-for-All Max Players']
             except Exception:
-                return 8
+                return 32
 
     def _instantiateNextGame(self):
         self._nextGameInstance = bs.newActivity(
-- 
GitLab