Fix respawn all vehicles command

This commit is contained in:
Vortrex
2021-09-30 18:54:43 -05:00
parent 56cea0f34e
commit 219dd82e5a

View File

@@ -1107,7 +1107,7 @@ function reloadAllVehiclesCommand(command, params, client) {
function respawnAllVehiclesCommand(command, params, client) {
for(let i in getServerData().vehicles) {
respawnVehicle(getServerData().vehicles[i]);
respawnVehicle(getServerData().vehicles[i].vehicle);
}
//spawnAllVehicles();