Fix expression BGM switch

This commit is contained in:
Cohee 2023-09-14 01:28:44 +03:00
parent 0d30d8244f
commit d0182c47de
1 changed files with 1 additions and 1 deletions

View File

@ -329,9 +329,9 @@ async function moduleWorker() {
} }
try { try {
currentExpressionBGM = newExpression;
await updateBGM(); await updateBGM();
cooldownBGM = extension_settings.audio.bgm_cooldown * 1000; cooldownBGM = extension_settings.audio.bgm_cooldown * 1000;
currentExpressionBGM = newExpression;
console.debug(DEBUG_PREFIX, "(SOLO) Updated current character expression to", currentExpressionBGM, "cooldown", cooldownBGM); console.debug(DEBUG_PREFIX, "(SOLO) Updated current character expression to", currentExpressionBGM, "cooldown", cooldownBGM);
} }
catch (error) { catch (error) {