Skip to content

Commit 1da2880

Browse files
committedFeb 28, 2025··
fix missing server unreachable overlay in server overview
1 parent d025d5c commit 1da2880

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎WebfrontCore/wwwroot/js/server.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) {
3232
lastMap = elem;
3333
}
3434

35-
if (elem.connectionInterrupted) {
35+
if (elem.ci) {
3636
offlineTime.push({
37-
clientCount: maxClients,
38-
timeString: elem.ts
37+
cc: maxClients,
38+
ts: elem.ts
3939
});
4040

4141
onlineTime.push({
42-
clientCount: 0,
43-
timeString: elem.ts
42+
cc: 0,
43+
ts: elem.ts
4444
})
4545
} else {
4646
offlineTime.push({
47-
clientCount: 0,
48-
timeString: elem.ts
47+
cc: 0,
48+
ts: elem.ts
4949
});
5050

5151
onlineTime.push(elem)

0 commit comments

Comments
 (0)
Please sign in to comment.