From a22846c2649fc29c68a52daaaa1c8f38dd6d246b Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 29 Jun 2019 01:43:56 +1000 Subject: [PATCH] Tweaked gold logic again --- server/profiles.js | 2 +- server/statistics.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/profiles.js b/server/profiles.js index 0cd5f32..359681b 100644 --- a/server/profiles.js +++ b/server/profiles.js @@ -484,7 +484,7 @@ const runGoldTick = (connection) => { if (results[0].goldAverage < 120) return 30; if (results[0].goldAverage < 130) return 60; if (results[0].goldAverage < 140) return 120; - return 180; //slow it way down + return -180; //slow it way down })(); //if the tick rate changed (or is undefined), reset (or start) the inner tick job diff --git a/server/statistics.js b/server/statistics.js index 8944394..b4f779f 100644 --- a/server/statistics.js +++ b/server/statistics.js @@ -21,7 +21,7 @@ const statisticsRequest = (connection) => (req, res) => { if (results[0].goldAverage < 120) return 30; if (results[0].goldAverage < 130) return 60; if (results[0].goldAverage < 140) return 120; - return 180; //slow it way down + return -180; //slow it way down })(); let nextTick = Math.abs(tickRate) - (new Date()).getMinutes() % Math.abs(tickRate);