1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

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) /
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;
}
}