From cca0d7728a9939725a63677ec93722d67ce30216 Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Sun, 3 Jan 2021 13:32:14 +0000 Subject: [PATCH] fixed all the linting errors --- src/js/game/systems/item_processor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/game/systems/item_processor.js b/src/js/game/systems/item_processor.js index a20455e2..77ba0f2d 100644 --- a/src/js/game/systems/item_processor.js +++ b/src/js/game/systems/item_processor.js @@ -299,8 +299,8 @@ export class ItemProcessorSystem extends GameSystemWithFilter { const bonusTimeToApply = Math.min(originalTime, processorComp.bonusTime); let timeToProcess = originalTime - bonusTimeToApply; - const itemOnBeltSpeed = 1/ this.root.hubGoals.getBeltBaseSpeed(); - if(processorComp.extraOutputTime <= itemOnBeltSpeed){ + const itemOnBeltSpeed = 1 / this.root.hubGoals.getBeltBaseSpeed(); + if (processorComp.extraOutputTime <= itemOnBeltSpeed){ timeToProcess -= processorComp.extraOutputTime; } processorComp.extraOutputTime = 0;