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:
parent
19b0fc0e96
commit
8b37453e09
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user