1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Remove unnecessary debug output

This commit is contained in:
Tobias Springer 2020-05-10 17:46:06 +02:00
parent bb1758642b
commit 3ccb5f5354

View File

@ -169,7 +169,6 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
// do a curve from the left to the top // do a curve from the left to the top
if (hasRightEjector && !hasLeftEjector) { if (hasRightEjector && !hasLeftEjector) {
console.log("e - connect right");
return { return {
rotation: (rotation + 270) % 360, rotation: (rotation + 270) % 360,
rotationVariant: 2, rotationVariant: 2,
@ -179,7 +178,6 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
// When something ejects to us from the right and nothing from the left, // When something ejects to us from the right and nothing from the left,
// do a curve from the right to the top // do a curve from the right to the top
if (hasLeftEjector && !hasRightEjector) { if (hasLeftEjector && !hasRightEjector) {
console.log("e - connect left");
return { return {
rotation: (rotation + 90) % 360, rotation: (rotation + 90) % 360,
rotationVariant: 1, rotationVariant: 1,
@ -193,7 +191,6 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
// When there is an acceptor to the right but no acceptor to the left, // When there is an acceptor to the right but no acceptor to the left,
// do a turn to the right // do a turn to the right
if (hasRightAcceptor && !hasLeftAcceptor) { if (hasRightAcceptor && !hasLeftAcceptor) {
console.log("a - connect right");
return { return {
rotation, rotation,
rotationVariant: 2, rotationVariant: 2,
@ -203,7 +200,6 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
// When there is an acceptor to the left but no acceptor to the right, // When there is an acceptor to the left but no acceptor to the right,
// do a turn to the left // do a turn to the left
if (hasLeftAcceptor && !hasRightAcceptor) { if (hasLeftAcceptor && !hasRightAcceptor) {
console.log("a - connect left");
return { return {
rotation, rotation,
rotationVariant: 1, rotationVariant: 1,