Commit f1f6a77d authored by JuniorJPDJ's avatar JuniorJPDJ Committed by Georg Krause
Browse files

Don't allow track playing start if it's not current track

partially fixes #1213
parent 63a6fdce
Partially fixed playing two tracks at same time (#1213)
......@@ -384,6 +384,10 @@ export default {
})
},
onplay: function () {
if (this != self.currentSound) {
this.stop()
return
}
self.$store.commit('player/isLoadingAudio', false)
self.$store.commit('player/resetErrorCount')
self.$store.commit('player/errored', false)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment