mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 10:11:50 +00:00
remove test logs
This commit is contained in:
parent
99ae4c81ee
commit
2867a8bba2
@ -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
|
// First slot is the shape, so if it's not there we can't do anything
|
||||||
const shapeItem = /** @type {ShapeItem} */ (input.item);
|
const shapeItem = /** @type {ShapeItem} */ (input.item);
|
||||||
if (!shapeItem) {
|
if (!shapeItem) {
|
||||||
console.log("not got shape");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -216,7 +215,6 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
|
|||||||
for (let j = 0; j < 4; ++j) {
|
for (let j = 0; j < 4; ++j) {
|
||||||
const layer = shapeItem.definition.layers[j];
|
const layer = shapeItem.definition.layers[j];
|
||||||
if (layer && layer[i]) {
|
if (layer && layer[i]) {
|
||||||
console.log("other error");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -285,7 +285,6 @@ export class UndergroundBeltSystem extends GameSystemWithFilter {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("distance: " + searchOffset);
|
|
||||||
// make sure to link the other way as well
|
// make sure to link the other way as well
|
||||||
receiverUndergroundComp.cachedLinkedEntity = { entity: null, distance: searchOffset };
|
receiverUndergroundComp.cachedLinkedEntity = { entity: null, distance: searchOffset };
|
||||||
return { entity: potentialReceiver, distance: searchOffset };
|
return { entity: potentialReceiver, distance: searchOffset };
|
||||||
@ -317,7 +316,6 @@ export class UndergroundBeltSystem extends GameSystemWithFilter {
|
|||||||
|
|
||||||
const input = acceptorComp.completedInputs.get(0);
|
const input = acceptorComp.completedInputs.get(0);
|
||||||
if (input) {
|
if (input) {
|
||||||
console.log("found input");
|
|
||||||
// Check if the receiver can accept it
|
// Check if the receiver can accept it
|
||||||
if (
|
if (
|
||||||
cacheEntry.entity.components.UndergroundBelt.tryAcceptTunneledItem(
|
cacheEntry.entity.components.UndergroundBelt.tryAcceptTunneledItem(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user