diff --git a/js/photon-absorption/model/Molecule.js b/js/photon-absorption/model/Molecule.js index f1abcca4..45b05fe9 100644 --- a/js/photon-absorption/model/Molecule.js +++ b/js/photon-absorption/model/Molecule.js @@ -142,9 +142,6 @@ define( require => { // @public, set by PhotonAbsorptionModel this.photonGroupTandem = null; - // @public (read-only) {Emitter} - emitter for when a photon is absorbed - this.photonAbsorbedEmitter = new Emitter( { parameters: [ { valueType: Photon } ] } ); - // @public (read-only) {Emitter} - emitter for when a photon is emitted this.photonEmittedEmitter = new Emitter( { parameters: [ { valueType: Photon } ] } ); @@ -432,9 +429,9 @@ define( require => { absorbPhoton = true; this.activePhotonAbsorptionStrategy = candidateAbsorptionStrategy; this.activePhotonAbsorptionStrategy.queryAndAbsorbPhoton( photon ); - this.photonAbsorbedEmitter.emit( photon ); } else { + // We have the decision logic once for whether a photon should be absorbed, so it is not queried a second // time. this.markPhotonForPassThrough( photon );