diff --git a/src/js/game/hud/parts/wires_overlay.js b/src/js/game/hud/parts/wires_overlay.js index 4d382d2b..7d956eba 100644 --- a/src/js/game/hud/parts/wires_overlay.js +++ b/src/js/game/hud/parts/wires_overlay.js @@ -56,7 +56,13 @@ export class HUDWiresOverlay extends BaseHUDPart { update() { const desiredAlpha = this.root.currentLayer === "wires" ? 1.0 : 0.0; - this.currentAlpha = lerp(this.currentAlpha, desiredAlpha, 0.12); + + // On low performance, skip the fade + if (this.root.entityMgr.entities.length > 5000 || this.root.dynamicTickrate.averageFps < 50) { + this.currentAlpha = desiredAlpha; + } else { + this.currentAlpha = lerp(this.currentAlpha, desiredAlpha, 0.12); + } } /**