Fixing lobby button bug.

This commit is contained in:
lotodore
2009-08-06 21:32:45 +00:00
parent 6b2b920344
commit 9f3dd94a71
+2
View File
@@ -132,6 +132,8 @@ ClientThread::SendLeaveCurrentGame()
{
boost::shared_ptr<NetPacket> 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));
}