Update profiles.md to reflect the latest version

The [car profile](../profiles/car.lua) defines `api_version` 4, so this document should reflect this as well.
This commit is contained in:
Marcel Radischat 2018-04-17 13:35:07 +02:00 committed by GitHub
parent 15139c934f
commit 10b2d69746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ If you want to prioritize certain streets, increase the rate on these.
## Elements ## Elements
### api_version ### api_version
A profile should set `api_version` at the top of your profile. This is done to ensure that older profiles are still supported when the api changes. If `api_version` is not defined, 0 will be assumed. The current api version is 2. A profile should set `api_version` at the top of your profile. This is done to ensure that older profiles are still supported when the api changes. If `api_version` is not defined, 0 will be assumed. The current api version is 4.
### Library files ### Library files
The folder [profiles/lib/](../profiles/lib/) contains LUA library files for handling many common processing tasks. The folder [profiles/lib/](../profiles/lib/) contains LUA library files for handling many common processing tasks.