From b5ead37abca7898252c11a0d4a9e390a638fb838 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 10 Feb 2021 12:28:04 +0100 Subject: [PATCH 1/1] Fix corr games 'auto-lost-on-time' --- server/models/Game.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/models/Game.js b/server/models/Game.js index 76a91dc9..7f10b65a 100644 --- a/server/models/Game.js +++ b/server/models/Game.js @@ -510,6 +510,7 @@ const GameModel = { } // Set score if lost on time and >= 2 moves: else if ( + g.score == '*' && !!movesGroups[g.id] && movesGroups[g.id].nbMoves >= 2 && tsNow - movesGroups[g.id].lastMaj > -- 2.44.0