mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-10-26 02:59:57 +00:00
Fixed setting vehicle data
This commit is contained in:
1 parent
31d68249a8
commit
956b2ef5b5
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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