popup 6
This commit is contained in:
parent
9ae3bc239d
commit
7689429d66
@ -69,7 +69,7 @@ document.querySelectorAll(".building").forEach((building) => {
|
||||
actionsTab.innerHTML = ` <button>Betreten</button> `;
|
||||
|
||||
// Prüfen ob das Gebäude ein eigenes Modul hat
|
||||
if (buildingModules[data.type]) {
|
||||
if (buildingModules[Number(data.type)]) {
|
||||
actionsTab.innerHTML = `
|
||||
<div class="building-ui"></div>
|
||||
`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user