fix bot games with AI

pull/6103/head
Thibault Duplessis 2020-02-28 17:37:46 -06:00
parent 4f5c9088c0
commit 55a1b114ae
1 changed files with 2 additions and 1 deletions

View File

@ -668,7 +668,8 @@ object Game {
speed >= (if (mode.rated) Speed.Classical else Speed.Rapid)
def isBotCompatible(game: Game) =
game.source contains Source.Friend
game.source.contains(Source.Friend) ||
game.source.contains(Source.Ai)
private[game] val emptyCheckCount = CheckCount(0, 0)