mirror of
https://github.com/YuzuZensai/NekoMelody.git
synced 2026-01-31 14:57:58 +00:00
🐛 fix: Skip flag for loop
This commit is contained in:
@@ -70,13 +70,15 @@ export class Player {
|
|||||||
|
|
||||||
this.previousAudioInformation = this.currentAudioInformation;
|
this.previousAudioInformation = this.currentAudioInformation;
|
||||||
|
|
||||||
if (this.loopMode === LoopMode.Current) {
|
if (this.loopMode === LoopMode.Current && !skip) {
|
||||||
this._createStream(
|
this._createStream(
|
||||||
this.currentAudioInformation as AudioInformation,
|
this.currentAudioInformation as AudioInformation,
|
||||||
this.currentAudioInformation?.url as string,
|
this.currentAudioInformation?.url as string,
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this._skipFlag = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user