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

Re-Enable automatic belt placement

This commit is contained in:
tobspr 2020-06-27 09:33:58 +02:00
parent 4bed0cacec
commit ceb9b81cf9
3 changed files with 6 additions and 6 deletions

View File

@ -5,13 +5,15 @@ export const CHANGELOG = [
entries: [
"Huge belt performance improvements - up to 50% increase",
"Preparations for the wires update",
"Update belt placement performance on huge factories (by Phlosioneer)",
"Allow clicking on variants to select them",
"Allow clicking 'Q' over a shape or color patch to automatically select the miner building (by Gerdon262)",
"Add 'copy key' button to shape viewer",
"Fix deconstruct sound being played when right clicking hub",
"Add setting (on by default) to store the last used rotation per building instead of globally storing it (by Magos)",
"Add more FPS to the belt animation",
"Fix deconstruct sound being played when right clicking hub",
"Allow clicking 'Q' over a shape or color patch to automatically select the miner building (by Gerdon262)",
"Update belt placement performance on huge factories (by Phlosioneer)",
"Fix duplicate waypoints with a shape not rendering (by hexy)",
"Fix smart tunnel placement deleting wrong tunnels (by mordof)",
"Add setting (on by default) to store the last used rotation per building instead of globally storing it (by Magos)",
"Added chinese (traditional) translation",
"Updated translations",
],

View File

@ -1018,7 +1018,6 @@ export class BeltPath extends BasicSerializableObject {
worldPos.y + 2
);
progress += nextDistanceAndItem[_nextDistance];
nextDistanceAndItem[_item].draw(worldPos.x, worldPos.y, parameters, 10);
}
for (let i = 0; i < this.entityPath.length; ++i) {

View File

@ -129,7 +129,6 @@ export class MetaBeltBaseBuilding extends MetaBuilding {
updateVariants(entity, rotationVariant) {
entity.components.Belt.direction = arrayBeltVariantToRotation[rotationVariant];
entity.components.ItemEjector.slots[0].direction = arrayBeltVariantToRotation[rotationVariant];
entity.components.StaticMapEntity.spriteKey = null;
}