1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Placing underground belts now removes belts and other (unneeded) tunnels inbetween

This commit is contained in:
tobspr
2020-06-16 13:19:53 +02:00
parent 90cb56292b
commit b8c3668d88
4 changed files with 150 additions and 7 deletions

View File

@@ -483,6 +483,10 @@ export class HUDBuildingPlacer extends BaseHUDPart {
) {
// Succesfully placed
const entity = this.root.map.getTileContent(tile);
assert(entity, "Entity was not actually placed");
this.root.signals.entityManuallyPlaced.dispatch(entity);
if (
metaBuilding.getFlipOrientationAfterPlacement() &&
!this.root.keyMapper