From 70dd3c4c7d3a5cff355309e91774906dfd052f7e Mon Sep 17 00:00:00 2001 From: Jeff Kaufman Date: Sat, 13 Feb 2021 21:08:50 +0000 Subject: [PATCH] Put spectators after all non-spectators if possible --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 83424b2..e3e6d81 100755 --- a/server.py +++ b/server.py @@ -517,6 +517,8 @@ def assign_delays(userid_lead) -> None: initial_position + (x+2)*DELAY_INTERVAL for x in range(n_follow_buckets)] state.max_position = follow_positions[-1] + if n_follow_buckets < max_follow_buckets: + state.max_position += DELAY_INTERVAL # Spectators all go in the last bucket. for spectator in spectators: