mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
fix missing server unreachable overlay in server overview
This commit is contained in:
parent
d025d5c9c3
commit
1da28803da
@ -32,20 +32,20 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) {
|
|||||||
lastMap = elem;
|
lastMap = elem;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (elem.connectionInterrupted) {
|
if (elem.ci) {
|
||||||
offlineTime.push({
|
offlineTime.push({
|
||||||
clientCount: maxClients,
|
cc: maxClients,
|
||||||
timeString: elem.ts
|
ts: elem.ts
|
||||||
});
|
});
|
||||||
|
|
||||||
onlineTime.push({
|
onlineTime.push({
|
||||||
clientCount: 0,
|
cc: 0,
|
||||||
timeString: elem.ts
|
ts: elem.ts
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
offlineTime.push({
|
offlineTime.push({
|
||||||
clientCount: 0,
|
cc: 0,
|
||||||
timeString: elem.ts
|
ts: elem.ts
|
||||||
});
|
});
|
||||||
|
|
||||||
onlineTime.push(elem)
|
onlineTime.push(elem)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user