don't update boosters ratings
parent
43055d7d77
commit
e75a9d8608
|
@ -68,7 +68,7 @@ private[round] final class Finisher(
|
|||
if game.turns > 10
|
||||
humanColor <- game.players.find(_.isHuman).map(_.color)
|
||||
user <- humanColor.fold(white, black)
|
||||
if !user.engine
|
||||
if !user.lame
|
||||
result = game.winnerColor match {
|
||||
case Some(c) if c == humanColor => Loss
|
||||
case Some(_) => Win
|
||||
|
|
|
@ -18,7 +18,7 @@ final class PerfsUpdater(historyApi: HistoryApi) {
|
|||
|
||||
def save(game: Game, white: User, black: User, resetGameRatings: Boolean = false): Funit =
|
||||
PerfPicker.main(game) ?? { mainPerf =>
|
||||
(game.rated && game.finished && game.accountable && !white.engine && !black.engine) ?? {
|
||||
(game.rated && game.finished && game.accountable && !white.lame && !black.lame) ?? {
|
||||
val ratingsW = mkRatings(white.perfs)
|
||||
val ratingsB = mkRatings(black.perfs)
|
||||
val result = resultOf(game)
|
||||
|
|
Loading…
Reference in New Issue