From 9f3dd94a714bd10dc3533271032dd4f0a9d931fa Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 6 Aug 2009 21:32:45 +0000 Subject: [PATCH] Fixing lobby button bug. --- src/net/common/clientthread.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)); }