From 4ba63d10d7dd7ea52e10c7c361b41a970fa7cfc9 Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Fri, 16 Apr 2021 15:32:21 +0100 Subject: [PATCH] readers are capped to max current belt speed not 2! --- src/js/game/systems/belt_reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/systems/belt_reader.js b/src/js/game/systems/belt_reader.js index dbdff912..494d8d5d 100644 --- a/src/js/game/systems/belt_reader.js +++ b/src/js/game/systems/belt_reader.js @@ -43,7 +43,7 @@ export class BeltReaderSystem extends GameSystemWithFilter { throughput = 1 / (averageSpacing / averageSpacingNum) + 0.01; } - readerComp.lastThroughput = Math.min(globalConfig.beltSpeedItemsPerSecond, throughput); + readerComp.lastThroughput = Math.min(globalConfig.beltSpeedItemsPerSecond * this.root.hubGoals.upgradeLevels["belt"], throughput); } // Set the pins value - shape output consistent with the boolean output