clean stats code a little

This commit is contained in:
MathMan05 2024-08-31 16:26:02 -05:00
parent 2150a4832e
commit 2b69d338c3

View file

@ -72,8 +72,8 @@ function calcStats(instance){
let online=false;
let i=0;
for(const thing of obj){
online=obj[i].online;
const stamp=obj[i].time;
online=thing.online;
const stamp=thing.time;
if(alltime===-1){
alltime=0;
}