diff --git a/src/js/game/buildings/sorter.js b/src/js/game/buildings/sorter.js index 18e4c89f..1524d5e6 100644 --- a/src/js/game/buildings/sorter.js +++ b/src/js/game/buildings/sorter.js @@ -27,7 +27,7 @@ export class MetaSorterBuilding extends MetaBuilding { * @param {GameRoot} root */ getIsUnlocked(root) { - return true;//root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_sorter); + return true; //root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_sorter); } /** diff --git a/src/js/game/systems/item_processor.js b/src/js/game/systems/item_processor.js index 1c291cb5..e56efb96 100644 --- a/src/js/game/systems/item_processor.js +++ b/src/js/game/systems/item_processor.js @@ -123,7 +123,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter { trackProduction = false; const availableSlots = entity.components.ItemEjector.slots.length - 1; assert(inputItem instanceof ShapeItem, "Input for sorting is not a shape"); - console.log(inputItem.serialize) + console.log(inputItem.serialize); if (inputItem.serialize() == "CuCuCuCu") { let nextSlot = processorComp.nextOutputSlot++ % availableSlots; for (let i = 0; i < items.length; ++i) {