This commit is contained in:
2026-05-09 22:04:57 +02:00
parent d00f9fcd0c
commit 7eec03a811
+1 -1
View File
@@ -94,7 +94,7 @@ function wsSend(obj) {
function handleMessage(msg) {
if(msg.time && timeOffset != 0) {
const now = performance.now() / 1000;
const lag = now - (msg.time + offset);
const lag = now - (msg.time + timeOffset);
document.getElementById("ping-status").textContent = lag * 1000;
}
switch (msg.event) {