This commit is contained in:
Kai Philipp
2019-09-11 20:49:22 +02:00
parent 36ac47e1af
commit e4f27684c9
+1 -1
View File
@@ -1382,7 +1382,7 @@ ServerLobbyThread::HandleNetPacketCreateGame(boost::shared_ptr<SessionData> sess
} else if (!session->GetPlayerData()->IsPlayerAllowedToJoinCreateLimitRank() } else if (!session->GetPlayerData()->IsPlayerAllowedToJoinCreateLimitRank()
// @TODO: uncomment in productive // @TODO: uncomment in productive
/*&& tmpData.gameType != GAME_TYPE_RANKING*/ ) { /*&& tmpData.gameType != GAME_TYPE_RANKING*/ ) {
LOG_ERROR('not allowed due to ranklimit'): LOG_ERROR('not allowed due to ranklimit');
SendJoinGameFailed(session, gameId, NTF_NET_JOIN_GUEST_FORBIDDEN); SendJoinGameFailed(session, gameId, NTF_NET_JOIN_GUEST_FORBIDDEN);
} else { } else {
boost::shared_ptr<ServerGame> game( boost::shared_ptr<ServerGame> game(