diff --git a/src/js/game/systems/belt.js b/src/js/game/systems/belt.js index 62e98b33..00491eff 100644 --- a/src/js/game/systems/belt.js +++ b/src/js/game/systems/belt.js @@ -123,10 +123,6 @@ export class BeltSystem extends GameSystemWithFilter { return; } - if (this.root.immutableOperationRunning) { - return; - } - const metaBelt = gMetaBuildingRegistry.findByClass(MetaBeltBuilding); // Compute affected area const originalRect = staticComp.getTileSpaceBounds(); @@ -168,7 +164,10 @@ export class BeltSystem extends GameSystemWithFilter { // Compute delta to see if anything changed const newDirection = arrayBeltVariantToRotation[rotationVariant]; - if (targetStaticComp.rotation !== rotation || newDirection !== targetBeltComp.direction) { + if ( + !this.root.immutableOperationRunning && + (targetStaticComp.rotation !== rotation || newDirection !== targetBeltComp.direction) + ) { const originalPath = targetBeltComp.assignedPath; // Ok, first remove it from its current path