Browse Source

fix small chip compile bug that wired dummy signals to each other

tags/2.7
Michael Schubmehl 5 years ago
parent
commit
b7cbd94232
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/droidquest/chipstuff/ChipCompiler.java

+ 1
- 1
src/com/droidquest/chipstuff/ChipCompiler.java View File

@@ -99,7 +99,7 @@ public ChipCompiler(PrototypeChip pc, SmallChip sc)
for (int ap=1; ap<4; ap++) // For every output Signal in the Node
{
Signal s1 = gate1.portSignals[ap].externalSignal;
if (s1!= null)
if (s1!= null && s1!=dummy)
{
for (int b=0; b<sc.gates.size(); b++) // For every other Gate in the Chip
{

Loading…
Cancel
Save