Adding tests for ranking games, fixing small issue when creating ranking games.
This commit is contained in:
@@ -1349,7 +1349,7 @@ ServerLobbyThread::HandleNetPacketCreateGame(SessionWrapper session, const std::
|
||||
{
|
||||
SendJoinGameFailed(session.sessionData, gameId, NTF_NET_JOIN_GUEST_FORBIDDEN);
|
||||
}
|
||||
else if (!ServerGame::CheckSettings(tmpData))
|
||||
else if (!ServerGame::CheckSettings(tmpData, password))
|
||||
{
|
||||
SendJoinGameFailed(session.sessionData, gameId, NTF_NET_JOIN_INVALID_SETTINGS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user