fix: Vehicle Preview same model hash different actual vehicle (#2904)

Closes #2903
This commit is contained in:
gir489 2024-04-02 03:55:13 -04:00 committed by GitHub
parent d0292b59cb
commit 65c2aa9b16

View File

@ -71,7 +71,7 @@ namespace big
void model_preview_service::show_vehicle(const std::map<int, int32_t>& 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;