From 5336467838689f84d3e686fd5c4f28e2dd7e1039 Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 28 Aug 2020 22:41:13 +0200 Subject: [PATCH] statistics are now shown in shapes / second instead of shapes / minute --- src/js/game/hud/parts/statistics_handle.js | 9 ++------- translations/base-en.yaml | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/js/game/hud/parts/statistics_handle.js b/src/js/game/hud/parts/statistics_handle.js index cfa459d4..6f49f8d3 100644 --- a/src/js/game/hud/parts/statistics_handle.js +++ b/src/js/game/hud/parts/statistics_handle.js @@ -92,15 +92,10 @@ export class HUDShapeStatisticsHandle { (this.root.productionAnalytics.getCurrentShapeRate(dataSource, this.definition) / globalConfig.analyticsSliceDurationSeconds) * 60; - this.counter.innerText = T.ingame.statistics.shapesPerMinute.replace( + this.counter.innerText = T.ingame.statistics.shapesPerSecond.replace( "", - formatBigNumber(rate) + formatBigNumber(rate / 60) ); - - if (G_IS_DEV && globalConfig.debug.detailedStatistics) { - this.counter.innerText = "" + round2Digits(rate / 60) + " /s"; - } - break; } } diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 91c5e749..4aa67992 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -377,8 +377,8 @@ ingame: description: Displaying shapes which are delivered to your central building. noShapesProduced: No shapes have been produced so far. - # Displays the shapes per minute, e.g. '523 / m' - shapesPerMinute: / m + # Displays the shapes per second, e.g. '523 / s' + shapesPerSecond: / s # Settings menu, when you press "ESC" settingsMenu: