summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/game.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/game.cpp b/server/game.cpp
index de36f2e..268439f 100644
--- a/server/game.cpp
+++ b/server/game.cpp
@@ -54,8 +54,17 @@ void Game::start() {
pl.push_back(players[3].client->nick());
players[0].client->game_start(boost::bind(&Game::handle_ready, shared_from_this()), pl);
+
+ pl.erase(pl.begin());
+ pl.push_back(players[0].client->nick());
players[1].client->game_start(boost::bind(&Game::handle_ready, shared_from_this()), pl);
+
+ pl.erase(pl.begin());
+ pl.push_back(players[1].client->nick());
players[2].client->game_start(boost::bind(&Game::handle_ready, shared_from_this()), pl);
+
+ pl.erase(pl.begin());
+ pl.push_back(players[2].client->nick());
players[3].client->game_start(boost::bind(&Game::handle_ready, shared_from_this()), pl);
}