From 7824a18103d2971efd94891d29f842924b6a7b99 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 31 Jul 2023 16:09:36 +0900 Subject: [PATCH] Live2d Commits --- public/scripts/extensions/expressions/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/scripts/extensions/expressions/index.js b/public/scripts/extensions/expressions/index.js index 54ab14da5..011c2c803 100644 --- a/public/scripts/extensions/expressions/index.js +++ b/public/scripts/extensions/expressions/index.js @@ -484,11 +484,8 @@ async function moduleWorker() { let imgElement = document.getElementById('expression-image'); imgElement.src = ""; - //change live character - let inputElement = document.querySelector('input[name="avatar_url"]'); // get char name - let value_name = inputElement.value; - loadLiveChar(value_name); - + //Load new char + loadLiveChar(context.name2 + ".png"); } const vnMode = isVisualNovelMode();