From 9be51698d4a93e004e424467992d77cf0a108991 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Thu, 20 Jun 2019 07:17:34 +0200 Subject: [PATCH] better RTT display --- static/js/overlays/PlayerOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/overlays/PlayerOverlay.js b/static/js/overlays/PlayerOverlay.js index cc5b475..7732f48 100644 --- a/static/js/overlays/PlayerOverlay.js +++ b/static/js/overlays/PlayerOverlay.js @@ -46,7 +46,7 @@ export default L.LayerGroup.extend({ html += `
- RTT: ${player.rtt} ms + RTT: ${Math.floor(player.rtt*1000)} ms
Protocol version: ${player.protocol_version} `;