Commit faff06bb authored by LoveEevee's avatar LoveEevee

Fix back button on song select

parent 4845ec10
...@@ -179,7 +179,9 @@ class Sound{ ...@@ -179,7 +179,9 @@ class Sound{
stop(time, absolute){ stop(time, absolute){
time = this.convertTime(time, absolute) time = this.convertTime(time, absolute)
this.sources.forEach(source => { this.sources.forEach(source => {
source.stop(Math.max(source.startTime, time)) try{
source.stop(Math.max(source.startTime, time))
}catch(e){}
}) })
this.setTimeouts(time).then(() => { this.setTimeouts(time).then(() => {
if(this.loop){ if(this.loop){
......
Markdown is supported
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