dont try to play audio if js crashed

This commit is contained in:
ed 2021-09-01 22:28:15 +02:00
parent 5e34463c77
commit ed8d34ab43

View file

@ -1252,6 +1252,9 @@ function play(tid, is_ev, seek, call_depth) {
if (mp.order.length == 0) if (mp.order.length == 0)
return console.log('no audio found wait what'); return console.log('no audio found wait what');
if (crashed)
return;
mp.stopfade(true); mp.stopfade(true);
var tn = tid; var tn = tid;