fix random location

This commit is contained in:
Laura Klünder 2024-12-26 05:33:16 +01:00
parent f1af20da5b
commit 94a8328cbb

View file

@ -1412,7 +1412,7 @@ c3nav = {
if (!group) continue;
if (!group.locationtype || group.locationtype !== 'locationgroup') continue;
group.locations.forEach(subid => {
if (subid in c3nav.locations_by_id) possible_locations.add(subid)
if (subid in c3nav.locations_by_id) possible_locations_set.add(subid)
});
}
const possible_locations = Array.from(possible_locations_set);