Update Statistics class

This commit is contained in:
Christer Warén 2021-09-16 05:35:12 +03:00
parent ee08232128
commit cc3b2a50cf

View File

@ -27,14 +27,14 @@ module.exports = class {
}
calculateGlobal(client){
if(!client.stations.list) return;
if(!client.stations) return;
if(!client.datastore.map) return;
let guilds = client.datastore.map.keys();
let stations = client.stations.list;
let stations = client.stations;
let statistics = {};
if(!client.stations.list) return;
if(!client.stations) return;
let calculation = guilds.next();