Skip to content

Commit

Permalink
Fix small oof with allowTeamChoice
Browse files Browse the repository at this point in the history
  • Loading branch information
efinst0rm committed Mar 19, 2023
1 parent 39e8880 commit 9b19e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iw4x/iw4x_00/maps/mp/gametypes/_menus.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ addToTeam( team, firstConnect )
self.team = team;

// session team is readonly in ranked matches on console
if ( !matchMakingGame() || isDefined( self.pers["isBot"] ) || allowTeamChoice() )
if ( !matchMakingGame() || isDefined( self.pers["isBot"] ) || !allowTeamChoice() )
{
if ( level.teamBased )
{
Expand Down

0 comments on commit 9b19e73

Please sign in to comment.