Fixed kicking someone from the game in the lobby. Vote kick still seems to be broken, could not find the bug yet.
This commit is contained in:
@@ -195,6 +195,7 @@ ServerLobbyThread::ReAddSession(SessionWrapper session, int reason)
|
||||
boost::shared_ptr<NetPacket> packet(new NetPacket(NetPacket::Alloc));
|
||||
packet->GetMsg()->present = PokerTHMessage_PR_gamePlayerMessage;
|
||||
GamePlayerMessage_t *netPlayerMsg = &packet->GetMsg()->choice.gamePlayerMessage;
|
||||
netPlayerMsg->gameId = session.sessionData->GetGameId();
|
||||
netPlayerMsg->gamePlayerNotification.present = gamePlayerNotification_PR_removedFromGame;
|
||||
RemovedFromGame_t *removed = &netPlayerMsg->gamePlayerNotification.choice.removedFromGame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user