diff --git a/src/services/model_preview/model_preview_service.cpp b/src/services/model_preview/model_preview_service.cpp index d645d466..b2b5f306 100644 --- a/src/services/model_preview/model_preview_service.cpp +++ b/src/services/model_preview/model_preview_service.cpp @@ -71,7 +71,7 @@ namespace big void model_preview_service::show_vehicle(const std::map& owned_mods, bool spawn_max) { - if (m_running && m_veh_model_hash != owned_mods.find(MOD_MODEL_HASH)->second) + if (m_running && m_veh_owned_mods != owned_mods) { stop_preview(); return;