Increase retry frequency

This commit is contained in:
0x1eef 2023-10-28 12:33:27 -03:00
parent d38cdee8da
commit 678aa186ea

View file

@ -31,7 +31,7 @@ export function AudioControl({
const recover = () => { const recover = () => {
if (!soundOn) return; if (!soundOn) return;
onStall(); onStall();
audio.play().catch(() => setTimeout(recover, 1000)); audio.play().catch(() => setTimeout(recover, 50));
}; };
useEffect(() => { useEffect(() => {