Merge pull request #133 from ThomasRubini/jsfix

fix change not going neutral after question timeout
This commit is contained in:
Djalim Simaila 2023-03-31 12:35:17 +02:00 committed by GitHub
commit 61b044689f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ async function askQuestion(buildAnswer) {
// Sleep for 4 sec
await new Promise(r => setTimeout(r, 4000));
document.getElementById("currentNpcPicure").src = NPC_REACTION_PATH + currentNpc;
document.getElementById("currentNpcPicure").src = NPC_IMAGE_PATH + currentNpc;
hideFirstClassElement("question_answer");
document.querySelector(".suspect_answer").textContent = "";