From cc3b2a50cf4aa25ff0877e92745c43a0290ea27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 16 Sep 2021 05:35:12 +0300 Subject: [PATCH] Update Statistics class --- src/client/classes/Statistics.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/classes/Statistics.js b/src/client/classes/Statistics.js index 0387177..78bfac5 100644 --- a/src/client/classes/Statistics.js +++ b/src/client/classes/Statistics.js @@ -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();