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