diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 6632302a..1a460b1a 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1557,8 +1557,8 @@ ClientStateWaitStart::InternalHandlePacket(boost::shared_ptr clien client->InitGame(); client->GetGame()->setCurrentHandID(tmpHandId); // We need to remove the temporary player data objects after creating the game. - BOOST_FOREACH(unsigned tmpPlayerId, tmpPlayerList) { - client->RemovePlayerData(tmpPlayerId, gamePlayerLeftReason_leftOnRequest); + BOOST_FOREACH(unsigned tmpPlayerId, tmpPlayerList) { + client->RemovePlayerData(tmpPlayerId, gamePlayerLeftReason_leftOnRequest); } client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_START); client->SetState(ClientStateWaitHand::Instance());