mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +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;
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user