From 49a4407bbaf6c91946c15417301896d0c821d52c Mon Sep 17 00:00:00 2001 From: vibe-bot Date: Sat, 9 Aug 2025 21:14:44 +0200 Subject: [PATCH] =?UTF-8?q?Nightly:=20Partymode-Intervall=20verk=C3=BCrzt?= =?UTF-8?q?=20auf=203090=20Sekunden=20(sofort=20+=20Folgeintervalle)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 9714382..db602fa 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -205,14 +205,14 @@ export default function App() { const scheduleNextPlay = async () => { if (!chaosModeRef.current) return; await playRandomSound(); - const delay = 60_000 + Math.floor(Math.random() * 60_000); // 60-120 Sekunden + const delay = 30_000 + Math.floor(Math.random() * 60_000); // 30-90 Sekunden chaosTimeoutRef.current = window.setTimeout(scheduleNextPlay, delay); }; // Sofort ersten Sound abspielen await playRandomSound(); // Nächsten zufällig in 1-3 Minuten planen - const firstDelay = 60_000 + Math.floor(Math.random() * 60_000); + const firstDelay = 30_000 + Math.floor(Math.random() * 60_000); chaosTimeoutRef.current = window.setTimeout(scheduleNextPlay, firstDelay); };