Add default fallback expression

This commit is contained in:
Cohee 2025-02-22 13:45:54 +02:00
parent db988411fd
commit d21b0f1b5e

View File

@ -270,7 +270,7 @@ async function getLastMessageSprite(avatar) {
return await getExpressionLabel(text); return await getExpressionLabel(text);
} }
return extension_settings.expressions.fallback_expression; return extension_settings.expressions.fallback_expression || DEFAULT_FALLBACK_EXPRESSION;
} }
async function visualNovelUpdateLayers(container) { async function visualNovelUpdateLayers(container) {