From 6ec9d247431c7ca776122955125f6b60e796e9d9 Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Tue, 2 Apr 2024 03:55:13 -0400 Subject: [PATCH] fix: Vehicle Preview same model hash different actual vehicle (#2904) Closes #2903 --- src/services/model_preview/model_preview_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;