From 0983038d5c7f95e675183b4b7df6bde2331157e2 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 3 Dec 2015 09:10:07 +1100 Subject: [PATCH] Fixed size of token. --- src/network/protocols/client_lobby_room_protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/protocols/client_lobby_room_protocol.cpp b/src/network/protocols/client_lobby_room_protocol.cpp index 1e4c754df..1f569d017 100644 --- a/src/network/protocols/client_lobby_room_protocol.cpp +++ b/src/network/protocols/client_lobby_room_protocol.cpp @@ -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;