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-23 12:56:27 +0100
commit20e858c53f8ccf939df717386a5e69fca55a6b78 (patch)
tree0513a27f782df137eec8a8b13b6583b25cd12ee2 /schema.sql
parentc4138d200fc685ac7ed38c534dc03b188aab69c6 (diff)
downloadserver-20e858c53f8ccf939df717386a5e69fca55a6b78.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