diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-24 17:36:09 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-06-24 17:36:30 +0200 |
commit | 3009c951931002c9021d76a1c221e3013f0cd046 (patch) | |
tree | 54a97608cc803d182aeb7e49bd7aa692b7f757a6 /server.js | |
parent | cc2f229e76e04295f6aad75dbf797c690a7aae95 (diff) | |
download | server-3009c951931002c9021d76a1c221e3013f0cd046.tar.gz |
Add "exit" button to finished games and observer view.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -649,7 +649,7 @@ const QUERY_COUNT_OPEN_GAMES = db.prepare("SELECT COUNT(*) FROM games WHERE owne const QUERY_DELETE_GAME = db.prepare("DELETE FROM games WHERE game_id = ?"); const QUERY_REMATCH_FIND = db.prepare(` - SELECT game_id FROM games WHERE status=0 AND description=? + SELECT game_id FROM games WHERE status<3 AND description=? `).pluck(); const QUERY_REMATCH_CREATE = db.prepare(` |