|
@@ -103,6 +103,7 @@ THREE.Audio.prototype = Object.assign( Object.create( THREE.Object3D.prototype )
|
|
|
|
|
|
this.source.stop();
|
|
|
this.startTime = this.context.currentTime;
|
|
|
+ this.isPlaying = false;
|
|
|
|
|
|
return this;
|
|
|
|
|
@@ -116,10 +117,10 @@ THREE.Audio.prototype = Object.assign( Object.create( THREE.Object3D.prototype )
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
-
|
|
|
- this.isPlaying = false;
|
|
|
+
|
|
|
this.source.stop();
|
|
|
this.startTime = 0;
|
|
|
+ this.isPlaying = false;
|
|
|
|
|
|
return this;
|
|
|
|