Closed OgelGames closed 3 years ago
Oops, looks like I didn't test good enough in the other PR, sorry.
Use digilines.getspec(node)
.
@SmallJoker
digilines.getspec()
takes both,digilines
anddigiline
whereas latter seems to be deprecated (?).
Correct, however the code to connect wires was not using that function, and was only checking for the deprecated digiline
definition.
I cannot see any difference. The Digiline Chest and RTC seem to connect just fine.
That is because they still use the deprecated digiline
definition, which is also corrected in this PR.
If you change those to use digilines
without adding the changes to the wire connecting, you will see they don't connect.
Currently wires only connect to nodes using the deprecated
digiline
definition, this fixes that by also checking for thedigilines
definition.Also updates all the nodes to use the correct definition.
Related: #44 #47