From 9589907cb98c14185853bdc825c913379ca0afdb Mon Sep 17 00:00:00 2001 From: Baptiste Date: Wed, 20 Dec 2023 01:38:19 +0100 Subject: [PATCH] drift --- public_html/js/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/render.js b/public_html/js/render.js index 975ccce..e2a939b 100644 --- a/public_html/js/render.js +++ b/public_html/js/render.js @@ -125,7 +125,7 @@ class Render { this.RenderPlayer(player,true); 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) => { this.RenderPlayer(player,false);