From c47ea745c5b334dff1c6385808a9dded97cb04b8 Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Fri, 16 Apr 2021 16:30:58 +0100 Subject: [PATCH] fixed linting errors (again) --- src/js/game/systems/belt_reader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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