Preparing "allow spectators" flag in network protocol (#215).
This commit is contained in:
@@ -1144,7 +1144,8 @@ ServerGame::CheckSettings(const GameData &data, const string &password, ServerMo
|
||||
|| (data.raiseIntervalMode != RAISE_ON_HANDNUMBER)
|
||||
|| (data.raiseMode != DOUBLE_BLINDS)
|
||||
|| (data.raiseSmallBlindEveryHandsValue != RANKING_GAME_RAISE_EVERY_HAND)
|
||||
|| (!password.empty())) {
|
||||
|| (!password.empty())
|
||||
|| (!data.allowSpectators)) {
|
||||
retVal = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user