summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-03 05:54:22 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-03 05:54:22 +0100
commit98bb8a87572fa4ebfac4faf54670b6686b41943b (patch)
treeb173cf4a3546bb61d8acdff18fc4a232e1674422 /server
parent4f20bf987a942e66d8c2ed97df8c3da71d6f17ec (diff)
Don't add 1p-player to 4p-queue.
Diffstat (limited to 'server')
-rw-r--r--server/lobby.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lobby.cpp b/server/lobby.cpp
index 667d68e..620b2fd 100644
--- a/server/lobby.cpp
+++ b/server/lobby.cpp
@@ -31,7 +31,7 @@ void Lobby::handle_action(Client::p client, int game_mode) {
switch(game_mode) {
case 0: {
Game::create(client, make_shared<ClientDumb>(), make_shared<ClientDumb>(), make_shared<ClientDumb>());
- }
+ } break;
case 1: {
if(waiting.size() >= 3) {