adding vid to the vehicle spawn data

This commit is contained in:
Luuk van Oijen
2023-11-27 12:39:15 +01:00
parent 6a1baa249a
commit 3df71e96c5
2 changed files with 37 additions and 24 deletions

View File

@@ -18,7 +18,7 @@ pub struct Car {
impl Car {
pub fn new(car_json: String) -> Self {
Self {
car_json: car_json,
car_json,
..Default::default()
}