Skip to content

Commit

Permalink
fixed some issues that was causing the book rub sound to seem very "a…
Browse files Browse the repository at this point in the history
…brupt", see phetsims/friction#159
  • Loading branch information
jbphet committed Jan 21, 2019
1 parent 08fec8c commit a15d7f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/sound-generators/NoiseGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ define( function( require ) {
// only stop if playing, otherwise ignore
if ( this.isPlaying && this.noiseSource ) {
this.noiseSource.stop( time );
this.noiseSource.disconnect( this.noiseSourceConnectionPoint );
this.noiseSource = null;
}
this.isPlaying = false;
Expand Down

0 comments on commit a15d7f4

Please sign in to comment.