generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -131,7 +131,7 @@ async function addPlace() {
|
||||
}
|
||||
|
||||
async function addNotFoundDoors(scenario: Scenario, place: Place) {
|
||||
place.doors?.forEach(async (door) => {
|
||||
for (const door of place.doors || []) {
|
||||
let place = scenario.story?.places?.find((place) => {
|
||||
return place.code == door.code
|
||||
})
|
||||
@@ -143,7 +143,7 @@ async function addNotFoundDoors(scenario: Scenario, place: Place) {
|
||||
name: door.name,
|
||||
text: undefined,
|
||||
image: undefined,
|
||||
hidden: undefined,
|
||||
hidden: true,
|
||||
applications: undefined,
|
||||
doors: undefined,
|
||||
keys: undefined
|
||||
@@ -154,7 +154,7 @@ async function addNotFoundDoors(scenario: Scenario, place: Place) {
|
||||
return
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
async function collapseAddPlace(place: Place) {
|
||||
|
||||
Reference in New Issue
Block a user