From 2867a8bba2d1e66ce773b44119cfd9cc947ce70c Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Wed, 19 Jan 2022 22:13:44 +0000 Subject: [PATCH] remove test logs --- src/js/game/systems/item_processor.js | 2 -- src/js/game/systems/underground_belt.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/js/game/systems/item_processor.js b/src/js/game/systems/item_processor.js index 6736bc65..1b18c01d 100644 --- a/src/js/game/systems/item_processor.js +++ b/src/js/game/systems/item_processor.js @@ -182,7 +182,6 @@ export class ItemProcessorSystem extends GameSystemWithFilter { // First slot is the shape, so if it's not there we can't do anything const shapeItem = /** @type {ShapeItem} */ (input.item); if (!shapeItem) { - console.log("not got shape"); return false; } @@ -216,7 +215,6 @@ export class ItemProcessorSystem extends GameSystemWithFilter { for (let j = 0; j < 4; ++j) { const layer = shapeItem.definition.layers[j]; if (layer && layer[i]) { - console.log("other error"); return false; } } diff --git a/src/js/game/systems/underground_belt.js b/src/js/game/systems/underground_belt.js index 451b6e55..d103c926 100644 --- a/src/js/game/systems/underground_belt.js +++ b/src/js/game/systems/underground_belt.js @@ -285,7 +285,6 @@ export class UndergroundBeltSystem extends GameSystemWithFilter { break; } - console.log("distance: " + searchOffset); // make sure to link the other way as well receiverUndergroundComp.cachedLinkedEntity = { entity: null, distance: searchOffset }; return { entity: potentialReceiver, distance: searchOffset }; @@ -317,7 +316,6 @@ export class UndergroundBeltSystem extends GameSystemWithFilter { const input = acceptorComp.completedInputs.get(0); if (input) { - console.log("found input"); // Check if the receiver can accept it if ( cacheEntry.entity.components.UndergroundBelt.tryAcceptTunneledItem(