Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tune server ranking (again)
  • Loading branch information
sfan5 committed Nov 11, 2018
1 parent e7c4d2c commit 6f51e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Expand Up @@ -331,10 +331,10 @@ def server_points(server):
points = server["clients"] / 4

# Penalize highly loaded servers to improve player distribution.
# Note: This doesn't just make more than 90% of max players stop
# Note: This doesn't just make more than 80% of max players stop
# increasing your points, it can actually reduce your points
# if you have guests.
cap = int(server["clients_max"] * 0.90)
cap = int(server["clients_max"] * 0.80)
if server["clients"] > cap:
points -= server["clients"] - cap

Expand Down

0 comments on commit 6f51e2f

Please sign in to comment.