mirror of https://github.com/calzoneman/sync.git
Merge pull request #521 from OurFlagIsMined/patch-1
more than one Play click deleted a playlist item
This commit is contained in:
commit
428007c3f8
|
@ -646,7 +646,7 @@ PlaylistModule.prototype.handleJumpTo = function (user, data) {
|
||||||
this.startPlayback();
|
this.startPlayback();
|
||||||
this.channel.logger.log("[playlist] " + user.getName() + " skipped " + title);
|
this.channel.logger.log("[playlist] " + user.getName() + " skipped " + title);
|
||||||
|
|
||||||
if (old && old.temp) {
|
if (old && old.temp && old !== to) {
|
||||||
this._delete(old.uid);
|
this._delete(old.uid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue