Permalink
Browse files

Fix bug with season standings.

  • Loading branch information...
roncli committed Dec 4, 2018
1 parent 2b01e13 commit 9ac3e7ca956847e44c2b72e9604dbf475c46673f
Showing with 1 addition and 1 deletion.
  1. +1 −1 database.js
@@ -248,7 +248,7 @@ class Database {
GROUP BY a.WinnerPlayerID
INSERT INTO @standings
SELECT LoserPlayerID, 0
SELECT DISTINCT LoserPlayerID, 0
FROM @results
WHERE LoserPlayerID NOT IN (SELECT PlayerID FROM @standings)

0 comments on commit 9ac3e7c

Please sign in to comment.