Merge pull request #133 from ThomasRubini/jsfix
fix change not going neutral after question timeout
This commit is contained in:
commit
61b044689f
@ -187,7 +187,7 @@ async function askQuestion(buildAnswer) {
|
|||||||
// Sleep for 4 sec
|
// Sleep for 4 sec
|
||||||
await new Promise(r => setTimeout(r, 4000));
|
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");
|
hideFirstClassElement("question_answer");
|
||||||
|
|
||||||
document.querySelector(".suspect_answer").textContent = "";
|
document.querySelector(".suspect_answer").textContent = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user