Store vehicles in parsed json

This commit is contained in:
Tixx
2025-01-18 22:05:56 +01:00
parent fbce8a946e
commit 2f577a2358
8 changed files with 59 additions and 45 deletions
+1 -1
View File
@@ -946,7 +946,7 @@ bool TNetwork::SyncClient(const std::weak_ptr<TClient>& c) {
res = false;
return false;
}
res = Respond(*LockedClient, StringToVector(v.Data()), true, true);
res = Respond(*LockedClient, StringToVector(v.DataAsPacket(client->GetRoles(), client->GetName(), client->GetID())), true, true);
}
}