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 8425cae0f6
commit 6ec9d24743
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;