diff --git a/src/js/game/systems/belt_underlays.js b/src/js/game/systems/belt_underlays.js index cd9199cb..a043c297 100644 --- a/src/js/game/systems/belt_underlays.js +++ b/src/js/game/systems/belt_underlays.js @@ -185,10 +185,7 @@ export class BeltUnderlaysSystem extends GameSystemWithFilter { } const staticComp = entity.components.StaticMapEntity; - const transformedPos = staticComp.localTileToWorld(underlayTile.pos); - const destX = transformedPos.x * globalConfig.tileSize; - const destY = transformedPos.y * globalConfig.tileSize; // Extract direction and angle const worldDirection = staticComp.localDirectionToWorld(underlayTile.direction);