1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

fixed linting errors (again)

This commit is contained in:
Sense101 2021-04-16 16:30:58 +01:00
parent 4ba63d10d7
commit c47ea745c5

View File

@ -43,7 +43,10 @@ export class BeltReaderSystem extends GameSystemWithFilter {
throughput = 1 / (averageSpacing / averageSpacingNum) + 0.01;
}
readerComp.lastThroughput = Math.min(globalConfig.beltSpeedItemsPerSecond * this.root.hubGoals.upgradeLevels["belt"], throughput);
readerComp.lastThroughput = Math.min(
globalConfig.beltSpeedItemsPerSecond * this.root.hubGoals.upgradeLevels.belt,
throughput
);
}
// Set the pins value - shape output consistent with the boolean output