diff --git a/src/js/game/systems/belt_reader.js b/src/js/game/systems/belt_reader.js index 494d8d5d..2e09d9c1 100644 --- a/src/js/game/systems/belt_reader.js +++ b/src/js/game/systems/belt_reader.js @@ -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