From 431ac110c7cb4538664f0eeead4653f537ee9cb6 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 13 Feb 2025 15:47:09 +0100 Subject: [PATCH] Adjust legacy support penalty --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index ecfc6c7..d9ae623 100755 --- a/server.py +++ b/server.py @@ -632,9 +632,9 @@ class ServerList: 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 60% 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.6 return points