1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-15 19:21:49 +00:00

Removed not needed variables

This commit is contained in:
DJ1TJOO 2021-11-26 18:41:06 +01:00
parent 6c05a56e36
commit 34c405696c

View File

@ -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);