Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

fix(server/vehicle): send vehicle properties on db creation#220

Merged
thelindat merged 9 commits intooverextended:mainfrom
andreutu:main
Jan 21, 2025
Merged

fix(server/vehicle): send vehicle properties on db creation#220
thelindat merged 9 commits intooverextended:mainfrom
andreutu:main

Conversation

@andreutu
Copy link
Contributor

This PR aims to add the vehicle properties to the vehicle's metadata, which will get added to the database, on creation.

@andreutu
Copy link
Contributor Author

Did a small change. Basically, when creating a vehicle, the properties are under data.properties. But, when spawning one, the properties are under data.data.properties. The recent commit should check both cases of where the data can exist.
I think (and hope) that these changes are good enough and don't require any more tinkering.

@thelindat thelindat merged commit 401ddc5 into overextended:main Jan 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants