mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
fix: Vehicle Preview same model hash different actual vehicle (#2904)
Closes #2903
This commit is contained in:
parent
d0292b59cb
commit
65c2aa9b16
@ -71,7 +71,7 @@ namespace big
|
|||||||
|
|
||||||
void model_preview_service::show_vehicle(const std::map<int, int32_t>& owned_mods, bool spawn_max)
|
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();
|
stop_preview();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user