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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user