Fixing game list issue where game was not shown as running.

This commit is contained in:
lotodore
2009-08-03 22:26:45 +00:00
parent 982d6159a0
commit 9d5800ff20
+1 -1
View File
@@ -833,7 +833,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
}
tmpInfo.adminPlayerId = netListNew->adminPlayerId;
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);
NetPacket::GetGameData(&netListNew->gameInfo, tmpInfo.data);