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:
parent
6c05a56e36
commit
34c405696c
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user