From 2eba8f79e7a91c1624ade6aed2a8c137962822d4 Mon Sep 17 00:00:00 2001 From: dengr1065 Date: Wed, 23 Sep 2020 19:24:28 +0300 Subject: [PATCH] Use hasValue() instead should have explored properties before doing anything (looks like it was added after i made the change) --- src/js/game/systems/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/systems/display.js b/src/js/game/systems/display.js index 7fb8be6b..94b8a870 100644 --- a/src/js/game/systems/display.js +++ b/src/js/game/systems/display.js @@ -111,7 +111,7 @@ export class DisplaySystem extends GameSystemWithFilter { const pinsComp = entity.components.WiredPins; const network = pinsComp.slots[0].linkedNetwork; - if (!network || !network.currentValue) { + if (!network || !network.hasValue()) { continue; }