Fix expression BGM switch
This commit is contained in:
parent
0d30d8244f
commit
d0182c47de
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue