From 0e8ea2ee217babcb5060ef26395674f8623de724 Mon Sep 17 00:00:00 2001 From: maxsupermanhd Date: Sun, 6 Oct 2024 20:05:44 +0300 Subject: [PATCH] allow all teams selection for admins --- src/multiint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/multiint.cpp b/src/multiint.cpp index d2bcc0ac4dd..f98e01340ec 100644 --- a/src/multiint.cpp +++ b/src/multiint.cpp @@ -2114,9 +2114,9 @@ void WzMultiplayerOptionsTitleUI::openTeamChooser(uint32_t player) UDWORD i; int disallow = allPlayersOnSameTeam(player); - if (bIsTrueMultiplayerGame && NetPlay.isHost) + if (bIsTrueMultiplayerGame && (NetPlay.isHost || NetPlay.isAdmin)) { - // allow configuration of all teams in true multiplayer mode (by host), even if they would block the game starting + // allow configuration of all teams in true multiplayer mode (by host/admin), even if they would block the game starting // (i.e. even if all players would be configured to be on the same team) disallow = -1; }