mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 13:48:00 -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;
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user