From 9d1ba50c2324ed1b3471dee9a680ce9575c351c9 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Mon, 4 May 2015 19:56:30 -0600 Subject: [PATCH] Fixed logic mistake in PlayersCanJoin. --- src/GameState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GameState.cpp b/src/GameState.cpp index 6e39f57acd..8926a72240 100644 --- a/src/GameState.cpp +++ b/src/GameState.cpp @@ -1443,9 +1443,9 @@ bool GameState::PlayersCanJoin() const { 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 ) {