Fixing game list issue where game was not shown as running.
This commit is contained in:
@@ -833,7 +833,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
|
|||||||
}
|
}
|
||||||
tmpInfo.adminPlayerId = netListNew->adminPlayerId;
|
tmpInfo.adminPlayerId = netListNew->adminPlayerId;
|
||||||
tmpInfo.isPasswordProtected = netListNew->isPrivate ? true : false;
|
tmpInfo.isPasswordProtected = netListNew->isPrivate ? true : false;
|
||||||
tmpInfo.mode = GAME_MODE_CREATED;
|
tmpInfo.mode = static_cast<GameMode>(netListNew->gameMode);
|
||||||
tmpInfo.name = STL_STRING_FROM_OCTET_STRING(netListNew->gameInfo.gameName);
|
tmpInfo.name = STL_STRING_FROM_OCTET_STRING(netListNew->gameInfo.gameName);
|
||||||
NetPacket::GetGameData(&netListNew->gameInfo, tmpInfo.data);
|
NetPacket::GetGameData(&netListNew->gameInfo, tmpInfo.data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user