From 8667739e5efc3aceb6b9224d3ce1a67da99a524a Mon Sep 17 00:00:00 2001 From: tobspr Date: Tue, 30 Jun 2020 12:42:37 +0200 Subject: [PATCH] MInor wires adjustment --- src/js/game/systems/belt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/game/systems/belt.js b/src/js/game/systems/belt.js index f099f26c..685bbe53 100644 --- a/src/js/game/systems/belt.js +++ b/src/js/game/systems/belt.js @@ -546,6 +546,7 @@ export class BeltSystem extends GameSystemWithFilter { return; } + parameters.context.globalAlpha = 0.5; const contents = chunk.wireContents; for (let y = 0; y < globalConfig.mapChunkSize; ++y) { for (let x = 0; x < globalConfig.mapChunkSize; ++x) { @@ -563,7 +564,7 @@ export class BeltSystem extends GameSystemWithFilter { } } } - 1; + parameters.context.globalAlpha = 1; } /**