mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Use hasValue() instead
should have explored properties before doing anything (looks like it was added after i made the change)
This commit is contained in:
parent
00d1130a9f
commit
2eba8f79e7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user