Drew Petersen 5 years ago
parent
commit
8ecf0c5895
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Audio/soundTrack.ts

+ 1 - 1
src/Audio/soundTrack.ts

@@ -51,7 +51,7 @@ export class SoundTrack {
         this.soundCollection = new Array();
         this._options = options;
 
-        if (!this.options.mainTrack && this._scene.soundTracks) {
+        if (!this._options.mainTrack && this._scene.soundTracks) {
             this._scene.soundTracks.push(this);
             this.id = this._scene.soundTracks.length - 1;
         }