Fixed logic mistake in PlayersCanJoin.

This commit is contained in:
Kyzentun
2015-05-04 19:56:30 -06:00
parent b761654100
commit 9d1ba50c23
+2 -2
View File
@@ -1443,9 +1443,9 @@ bool GameState::PlayersCanJoin() const
{ {
return true; return true;
} }
if(GetCurrentStyle(PLAYER_INVALID) != NULL) if(GetCurrentStyle(PLAYER_INVALID) == NULL)
{ {
return false; // selecting a style finalizes the players return true; // selecting a style finalizes the players
} }
if( ALLOW_LATE_JOIN.IsLoaded() && ALLOW_LATE_JOIN ) if( ALLOW_LATE_JOIN.IsLoaded() && ALLOW_LATE_JOIN )
{ {