mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
fix(VehicleService): Fixed crash related to create_profile
This commit is contained in:
parent
97a493646f
commit
799f7ce7a5
@ -212,7 +212,7 @@ namespace big
|
|||||||
m_publish_status = PublishStatus::SAVED;
|
m_publish_status = PublishStatus::SAVED;
|
||||||
else if (api::vehicle::handling::create_profile(hash, name, description, data, json))
|
else if (api::vehicle::handling::create_profile(hash, name, description, data, json))
|
||||||
{
|
{
|
||||||
this->set_active_profile(hash, json["share_code"]);
|
this->set_active_profile(hash, json["data"]["share_code"]);
|
||||||
|
|
||||||
m_publish_status = PublishStatus::SAVED;
|
m_publish_status = PublishStatus::SAVED;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user