Skip to content

Commit

Permalink
Merge af39411 into 8dbbe3a
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbourSmith committed Jan 23, 2020
2 parents 8dbbe3a + af39411 commit 6823ba3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/molecules/molecule.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,16 @@ export default class Molecule extends Atom{
//Run for this molecule
super.beginPropogation()

//Catch the corner case where this has no inputs which means it won't be marked as processing by super
if(this.inputs.length == 0){
this.processing = true
}

// Run for every atom in this molecule
this.nodesOnTheScreen.forEach(node => {
node.beginPropogation()
})

}

/**
Expand Down

0 comments on commit 6823ba3

Please sign in to comment.