Fixed setting vehicle data

This commit is contained in:
Anonymous275
2021-03-19 19:56:02 +02:00
parent 31d68249a8
commit 956b2ef5b5
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}
}