diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyRunner.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyRunner.java index edb1dfb..b1563bc 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyRunner.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyRunner.java @@ -38,7 +38,7 @@ public class LobbyRunner { } boolean canAddLobby() { - return activeLobbies.size() <= Server.getMaxLobbies(); + return activeLobbies.size() < Server.getMaxLobbies(); } /** Starts a new thread for the current LobbyConnection, and adds it to the currently active lobbies */