From 889799bd6e6712b778217fa6667b871fc94af2a0 Mon Sep 17 00:00:00 2001 From: bagas Date: Sat, 6 Sep 2025 21:55:29 +0700 Subject: [PATCH] update: change ping measurement --- components/world-map.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/world-map.tsx b/components/world-map.tsx index a05605f..143404a 100644 --- a/components/world-map.tsx +++ b/components/world-map.tsx @@ -60,17 +60,17 @@ export default function WorldMap({ onServerSelect, selectedServer }: WorldMapPro const getPingColor = (ping: number | null) => { if (!ping) return "text-gray-400" - if (ping < 50) return "text-green-400" - if (ping < 100) return "text-yellow-400" - if (ping < 150) return "text-orange-400" + if (ping < 100) return "text-green-400" + if (ping < 300) return "text-yellow-400" + if (ping < 500) return "text-orange-400" return "text-red-400" } const getPingStatus = (ping: number | null) => { if (!ping) return "Testing..." - if (ping < 50) return "Excellent" - if (ping < 100) return "Good" - if (ping < 150) return "Fair" + if (ping < 100) return "Excellent" + if (ping < 300) return "Good" + if (ping < 500) return "Fair" return "Poor" }