Implementing optional unlimited thinking time in LAN games on server side (GUI missing) ticket #24

This commit is contained in:
lotodore committed 2011-02-06 10:37:40 +00:00
1 parent 8c9a17f7db
commit e729647cec
6 files changed
+19 -9

No files matched your search

+1 -1
View File
@@ -1405,7 +1405,7 @@ ServerLobbyThread::HandleNetPacketCreateGame(SessionWrapper session, const std::
{
SendJoinGameFailed(session.sessionData, gameId, NTF_NET_JOIN_GUEST_FORBIDDEN);
}
else if (!ServerGame::CheckSettings(tmpData, password))
else if (!ServerGame::CheckSettings(tmpData, password, GetServerMode()))
{
SendJoinGameFailed(session.sessionData, gameId, NTF_NET_JOIN_INVALID_SETTINGS);
}