fixed textbox disapearing in interogation + npc not going neutral after question
This commit is contained in:
parent
fa554ef6e8
commit
71c54cdfa9
@ -206,7 +206,7 @@ async function askQuestion(buildAnswer) {
|
||||
document.querySelector(".suspect_answer").textContent = buildAnswer(
|
||||
getNpcLocationAndPartner(currentNpc));
|
||||
|
||||
showFirstClassElement("question_answer");
|
||||
showFirstClassElement("suspect_answer");
|
||||
|
||||
document.getElementById("currentNpcPicure").src = NPC_REACTION_PATH + currentNpc;
|
||||
|
||||
@ -214,8 +214,8 @@ async function askQuestion(buildAnswer) {
|
||||
// Sleep for 4 sec
|
||||
await new Promise(r => setTimeout(r, 4000));
|
||||
|
||||
document.getElementById("currentNpcPicure").src = NPC_REACTION_PATH + currentNpc;
|
||||
hideFirstClassElement("question_answer");
|
||||
document.getElementById("currentNpcPicure").src = NPC_IMAGE_PATH + currentNpc;
|
||||
hideFirstClassElement("suspect_answer");
|
||||
|
||||
document.querySelector(".suspect_answer").textContent = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user