diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-01 17:37:35 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-01 17:39:15 +0100 |
commit | 6d541440787ff4ce37f4c779311bb48e90d8420c (patch) | |
tree | 488d5647c1102de79efb027d8808fd15b4da149a /server.js | |
parent | f63ca4b1dae6de2cb3965a9e7d984ff2cb9d14e7 (diff) | |
download | server-6d541440787ff4ce37f4c779311bb48e90d8420c.tar.gz |
Don't count games that end early (resigned/timed out) in stats.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2935,11 +2935,9 @@ const SQL_GAME_STATS = SQL(` result, count(1) as n from - game_view + rated_games_view where - is_opposed - and ( status = ${STATUS_FINISHED} or status = ${STATUS_ARCHIVED} ) - and ( title_id not in ( select title_id from titles where is_symmetric ) ) + ( title_id not in ( select title_id from titles where is_symmetric ) ) group by title_id, player_count, |