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

pull/609/head
tobspr 4 years ago
parent 5076c03dab
commit 5336467838

@ -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(
"<shapes>",
formatBigNumber(rate)
formatBigNumber(rate / 60)
);
if (G_IS_DEV && globalConfig.debug.detailedStatistics) {
this.counter.innerText = "" + round2Digits(rate / 60) + " /s";
}
break;
}
}

@ -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: <shapes> / m
# Displays the shapes per second, e.g. '523 / s'
shapesPerSecond: <shapes> / s
# Settings menu, when you press "ESC"
settingsMenu:

Loading…
Cancel
Save