Fix: Allow players to pick team when joining server. (#591)

Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
This commit is contained in:
efinst0rm 2023-01-25 00:43:18 -06:00 committed by GitHub
parent b2fadb9d06
commit 84895be72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1551,7 +1551,7 @@ callback_playerconnect()
thread kickifdontspawn();
return;
}
else if ( !maps\mp\_utility::matchmakinggame() && maps\mp\_utility::allowteamchoice() )
else if ( maps\mp\_utility::allowteamchoice() && !isbot( self ) )
{
maps\mp\gametypes\_menus::menuspectator();
thread setuioptionsmenu( 1 );