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

Fix wires not showing placement indicator properly

This commit is contained in:
tobspr 2020-08-28 23:06:10 +02:00
parent e70f30ed17
commit 807deaa705

View File

@ -334,6 +334,7 @@ export class HUDBuildingPlacer extends HUDBuildingPlacerLogic {
} }
// Synchronize rotation and origin // Synchronize rotation and origin
this.fakeEntity.layer = metaBuilding.getLayer();
const staticComp = this.fakeEntity.components.StaticMapEntity; const staticComp = this.fakeEntity.components.StaticMapEntity;
staticComp.origin = mouseTile; staticComp.origin = mouseTile;
staticComp.rotation = rotation; staticComp.rotation = rotation;