Fixed persist outfit thinking the player was showering when they were not (#2203)
* Fixed a crash emanating from mobile_service::register_vehicles if the vehicle needed to be refreshed.
This commit is contained in:
@ -358,8 +358,10 @@ namespace big
|
||||
it->second = veh->get_display_name();
|
||||
m_personal_vehicles.emplace(veh->get_display_name(), std::move(veh));
|
||||
}
|
||||
|
||||
m_personal_vehicles[veh->get_display_name()]->set_garage();
|
||||
else
|
||||
{
|
||||
m_personal_vehicles[veh->get_display_name()]->set_garage();
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user