if (
                structure.structureType === STRUCTURE_WALL
                && structure.room.roomPlanner
                && structure.room.roomPlanner.isPlannedLocation(structure.pos, 'wall.quad')
            ) {