summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-22 12:54:58 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-22 12:55:09 +0100
commit896708492fcf269f925850d874acd72cb6a25c55 (patch)
treedac24e28aaf02b4aa80e6ffbf866b31786d6bba7 /schema.sql
parent8e873b80c8fc3a92f994648397729645109f5711 (diff)
downloadserver-896708492fcf269f925850d874acd72cb6a25c55.tar.gz
Tweak winner logic to scale threshold by player count.
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 88796e3..3f0fd1d 100644
--- a/schema.sql
+++ b/schema.sql
@@ -882,7 +882,7 @@ begin
with
tt as (
select
- round_count as threshold
+ (2 * round_count) / player_count as threshold
from
tm_seeds
where