X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2Fmodels%2FGame.js;h=516c4bc52982b2c3a4237777772a23ee445160d2;hp=ed3fb436976cd2ac82be2de9b1cf82cd4176eda3;hb=b49527c46ed89115a253f2965e198d06c9a26e9a;hpb=b2655276e322972b5c052d8c81db78e8cd6c5e2e diff --git a/server/models/Game.js b/server/models/Game.js index ed3fb436..516c4bc5 100644 --- a/server/models/Game.js +++ b/server/models/Game.js @@ -483,6 +483,7 @@ const GameModel = ) || ( + !!movesGroups[g.id] && movesGroups[g.id].nbMoves == 1 && tsNow - movesGroups[g.id].lastMaj > 14*day )