1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

copy the check for if the wires overlay exists

This commit is contained in:
EmeraldBlock 2021-06-05 12:31:27 -05:00
parent 19b0fc0e96
commit 8b37453e09

View File

@ -337,7 +337,9 @@ export class HUDScreenshotExporter extends BaseHUDPart {
this.root.systemMgr.systems.belt.drawBeltItems(parameters);
this.root.map.drawForeground(parameters);
this.root.systemMgr.systems.hub.draw(parameters);
this.root.hud.parts.wiresOverlay.draw(parameters);
if (this.root.hud.parts.wiresOverlay) {
this.root.hud.parts.wiresOverlay.draw(parameters);
}
if (this.root.currentLayer === "wires") {
this.root.map.drawWiresForegroundLayer(parameters);
}