diff --git a/src/net/common/clientthread.cpp b/src/net/common/clientthread.cpp index 8c2c191d..3796c254 100644 --- a/src/net/common/clientthread.cpp +++ b/src/net/common/clientthread.cpp @@ -132,6 +132,8 @@ ClientThread::SendLeaveCurrentGame() { boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); packet->GetMsg()->present = PokerTHMessage_PR_leaveGameRequestMessage; + LeaveGameRequestMessage_t *netLeave = &packet->GetMsg()->choice.leaveGameRequestMessage; + netLeave->gameId = GetGameId(); m_ioService->post(boost::bind(&ClientThread::SendSessionPacket, shared_from_this(), packet)); }