diff --git a/app/routes/main.py b/app/routes/main.py index 347435d..b215c55 100644 --- a/app/routes/main.py +++ b/app/routes/main.py @@ -470,21 +470,21 @@ def register_routes(app, services, settings): ORDER BY a.map, ps.character_name """) or [] - # Get vehicles with coordinates + # Get vehicles with coordinates (only DeepDesert and HaggaBasin) vehicles = db.query(""" SELECT v.id, a.map, a.transform, a.class FROM dune.vehicles v JOIN dune.actors a ON v.id = a.id - WHERE a.transform IS NOT NULL + WHERE a.transform IS NOT NULL AND a.map IN ('DeepDesert', 'HaggaBasin') ORDER BY a.map, a.class """) or [] - # Get buildings with coordinates + # Get buildings with coordinates (only DeepDesert and HaggaBasin) buildings = db.query(""" SELECT b.id, a.map, a.transform, a.class FROM dune.buildings b JOIN dune.actors a ON b.id = a.id - WHERE a.transform IS NOT NULL + WHERE a.transform IS NOT NULL AND a.map IN ('DeepDesert', 'HaggaBasin') ORDER BY a.map LIMIT 200 """) or [] diff --git a/templates/map.html b/templates/map.html index 4479798..ac4505b 100644 --- a/templates/map.html +++ b/templates/map.html @@ -269,14 +269,6 @@ Buildings ({{ buildings|length }}) -
Configure a map in settings to display coordinates.
+Map image not configured. Showing coordinate data in list view.