mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 14:56:04 +00:00
Fixed setting vehicle data
This commit is contained in:
@@ -54,7 +54,7 @@ std::string TClient::GetCarData(int Ident) {
|
||||
void TClient::SetCarData(int Ident, const std::string& Data) {
|
||||
for (auto& v : mVehicleData) {
|
||||
if (v.ID() == Ident) {
|
||||
v.Data() = Data;
|
||||
v.SetData(Data);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user