This commit is contained in:
Baptiste 2023-12-20 01:38:19 +01:00
parent 700d571b9f
commit 9589907cb9

View file

@ -125,7 +125,7 @@ class Render {
this.RenderPlayer(player,true); this.RenderPlayer(player,true);
cars.forEach((car) => { cars.forEach((car) => {
this.RenderCar(car.x,car.y,0,car.angle/*+(car.drift>0?car.drift/150:0)*/); this.RenderCar(car.x,car.y,0,car.angle+(car.drift>0?car.drift/150:0));
}); });
players.forEach((player) => { players.forEach((player) => {
this.RenderPlayer(player,false); this.RenderPlayer(player,false);