From edc7a2b3d9272b5d5c5f3cd523f0ec96c928ebe2 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 23 May 2022 13:47:33 -0700 Subject: [PATCH] fix --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 91e2a76f02..bb1b3f5741 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -73,7 +73,7 @@ void OnroadWindow::mousePressEvent(QMouseEvent* e) { void OnroadWindow::offroadTransition(bool offroad) { #ifdef ENABLE_MAPS if (!offroad) { - if (map == nullptr && (uiState()->prime_type || !MAPBOX_TOKEN.isEmpty())) { + if (map == nullptr) { MapWindow * m = new MapWindow(get_mapbox_settings()); map = m;