From fa01ab57d6559e1a00e37cd4c5d3bd16f9c0f3bd Mon Sep 17 00:00:00 2001 From: lotodore Date: Wed, 26 Oct 2011 21:51:29 +0000 Subject: [PATCH] Fixing order of messages. --- src/net/common/clientstate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 51ace767..6d137135 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1391,9 +1391,9 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr client if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_startEventMessage) { StartEventMessage_t *netStartEvent = &tmpPacket->GetMsg()->choice.startEventMessage; if (netStartEvent->startEventType.present == startEventType_PR_rejoinEvent) { - client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART); - } else { client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCREJOIN); + } else { + client->GetCallback().SignalNetClientGameInfo(MSG_NET_GAME_CLIENT_SYNCSTART); } client->SetState(ClientStateSynchronizeStart::Instance()); } else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage) {