mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
dont try to play audio if js crashed
This commit is contained in:
parent
5e34463c77
commit
ed8d34ab43
|
@ -1252,6 +1252,9 @@ function play(tid, is_ev, seek, call_depth) {
|
|||
if (mp.order.length == 0)
|
||||
return console.log('no audio found wait what');
|
||||
|
||||
if (crashed)
|
||||
return;
|
||||
|
||||
mp.stopfade(true);
|
||||
|
||||
var tn = tid;
|
||||
|
|
Loading…
Reference in a new issue