Skip to content

Commit

Permalink
Adjust legacy support penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Feb 16, 2025
1 parent 27e350b commit 38b1170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,9 @@ def server_points(server: Server):
if meta["ping"] > 0.4:
points -= (meta["ping"] - 0.4) * 8

# reduction to 40% for servers that support both legacy (v4) and v5 clients
# reduction to 70% for servers that support both legacy (v4) and v5 clients
if meta["proto_min"] <= 32 and meta["proto_max"] > 36:
points *= 0.4
points *= 0.7

return points

Expand Down

0 comments on commit 38b1170

Please sign in to comment.