more randomizing
This commit is contained in:
parent
2f305549d0
commit
d396da7cea
@ -441,8 +441,14 @@ export default class CarModule extends Module {
|
||||
}
|
||||
}
|
||||
|
||||
// Randomize regionId
|
||||
let randomRegionId: number = 18;
|
||||
for(let i=0; i<5; i++)
|
||||
{
|
||||
randomRegionId = Math.floor(Math.random() * 47) + 1;
|
||||
}
|
||||
|
||||
// Default car values
|
||||
let randomRegionId = Math.floor(Math.random() * 47) + 1;
|
||||
let carInsert = {
|
||||
userId: user.id,
|
||||
manufacturer: body.car.manufacturer!,
|
||||
|
Loading…
Reference in New Issue
Block a user