statistics are now shown in shapes / second instead of shapes / minute

This commit is contained in:
tobspr 2020-08-28 22:41:13 +02:00
parent 5076c03dab
commit 5336467838
2 changed files with 4 additions and 9 deletions

View File

@ -92,15 +92,10 @@ export class HUDShapeStatisticsHandle {
(this.root.productionAnalytics.getCurrentShapeRate(dataSource, this.definition) / (this.root.productionAnalytics.getCurrentShapeRate(dataSource, this.definition) /
globalConfig.analyticsSliceDurationSeconds) * globalConfig.analyticsSliceDurationSeconds) *
60; 60;
this.counter.innerText = T.ingame.statistics.shapesPerMinute.replace( this.counter.innerText = T.ingame.statistics.shapesPerSecond.replace(
"<shapes>", "<shapes>",
formatBigNumber(rate) formatBigNumber(rate / 60)
); );
if (G_IS_DEV && globalConfig.debug.detailedStatistics) {
this.counter.innerText = "" + round2Digits(rate / 60) + " /s";
}
break; break;
} }
} }

View File

@ -377,8 +377,8 @@ ingame:
description: Displaying shapes which are delivered to your central building. description: Displaying shapes which are delivered to your central building.
noShapesProduced: No shapes have been produced so far. noShapesProduced: No shapes have been produced so far.
# Displays the shapes per minute, e.g. '523 / m' # Displays the shapes per second, e.g. '523 / s'
shapesPerMinute: <shapes> / m shapesPerSecond: <shapes> / s
# Settings menu, when you press "ESC" # Settings menu, when you press "ESC"
settingsMenu: settingsMenu: