Simplify map: remove filter dropdown, only show DeepDesert/HaggaBasin data, placeholder when no image

This commit is contained in:
Reditus committed 2026-05-15 03:48:18 +01:00
1 parent d769c3ef86
commit ca1f2e1966
2 files changed
+12 -40

No files matched your search

+4 -4
View File
@@ -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 []