Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume committed Apr 3, 2024
1 parent 319c6fa commit 17000c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Site/Js/JsGame/dialogue.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function dialogueFunction(usernames, texts) {
let vagabondDialogue = false
let chefDialogue = false

let map = false;
let map = true;

function keydialogue(villager) {
clearTimeout(timeoutVillager);
Expand Down
7 changes: 5 additions & 2 deletions Site/Js/JsGame/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ function animate() {
window.requestAnimationFrame(animate);

if(menuKeys) {
dialogue.classList.remove("active")
carte.classList.remove("active")
dialogue.classList.remove("active");
carte.classList.remove("active");

carteKeys = false;

villagers.forEach(villager => {
villager.sprite.movingVillager = false;
})
Expand Down

0 comments on commit 17000c1

Please sign in to comment.