From 1da28803dacf47c67dad0160466e369e0da9b7d5 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 27 Feb 2025 21:51:37 -0600 Subject: [PATCH] fix missing server unreachable overlay in server overview --- WebfrontCore/wwwroot/js/server.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/WebfrontCore/wwwroot/js/server.js b/WebfrontCore/wwwroot/js/server.js index c7cace24..4ac8442b 100644 --- a/WebfrontCore/wwwroot/js/server.js +++ b/WebfrontCore/wwwroot/js/server.js @@ -32,20 +32,20 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) { lastMap = elem; } - if (elem.connectionInterrupted) { + if (elem.ci) { offlineTime.push({ - clientCount: maxClients, - timeString: elem.ts + cc: maxClients, + ts: elem.ts }); onlineTime.push({ - clientCount: 0, - timeString: elem.ts + cc: 0, + ts: elem.ts }) } else { offlineTime.push({ - clientCount: 0, - timeString: elem.ts + cc: 0, + ts: elem.ts }); onlineTime.push(elem)