fixed a typo that sometimes caused mapped entrances to display the scene they would go to instead of the entrance they are mapped to.

This commit is contained in:
Ada Werefox 2024-04-09 01:08:16 -05:00
parent 035c97869f
commit a7313a27ce

View File

@ -822,7 +822,7 @@ async function update_breakdown_entrances(scene, entrances) {
entrance_item.classList.add("hidden"); entrance_item.classList.add("hidden");
mapped_item.classList.remove("hidden"); mapped_item.classList.remove("hidden");
mapped_item.dataset.scene = entrances.doors[entrance].scene; mapped_item.dataset.scene = entrances.doors[entrance].scene;
mapped_item.textContent = `✔️ ${entrance} -> ${entrances.doors[entrance].scene}`; mapped_item.textContent = `✔️ ${entrance} -> ${entrances.doors[entrance].door}`;
} }
} }
} }