Fix music not fading

master
Talon 2021-11-05 18:52:56 +01:00
parent db78cae144
commit 0f8f5522fa
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ export class StreamingSource {
this.gain.connect(this.sceneNode); this.gain.connect(this.sceneNode);
break; break;
default: default:
this.graph.connectToMaster(this.node); this.node.connect(this.gain);
this.graph.connectToMaster(this.gain);
break; break;
} }
} }