projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix GameModel.cleanDb()
[vchess.git]
/
server
/
models
/
Game.js
diff --git
a/server/models/Game.js
b/server/models/Game.js
index
ed3fb43
..
516c4bc
100644
(file)
--- 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
)