Fixed size of token.

This commit is contained in:
hiker 2015-12-03 09:10:07 +11:00
parent 9765c56a44
commit 0983038d5c

View File

@ -576,7 +576,7 @@ void ClientLobbyRoomProtocol::startGame(Event* event)
"selection update wasn't formated as expected.");
return;
}
uint8_t token = data.gui32(1);
uint32_t token = data.gui32(1);
if (token == STKHost::get()->getPeers()[0]->getClientServerToken())
{
m_state = PLAYING;