mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +01:00
Don't await delay promise
This commit is contained in:
parent
2e50efc35c
commit
05b08f1ce2
@ -699,7 +699,7 @@ export function saveTtsProviderSettings() {
|
||||
async function onChatChanged() {
|
||||
await resetTtsPlayback();
|
||||
const voiceMapInit = initVoiceMap();
|
||||
await Promise.race([voiceMapInit, await delay(1000)]);
|
||||
await Promise.race([voiceMapInit, delay(1000)]);
|
||||
ttsLastMessage = null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user