improved cars brakes

This commit is contained in:
Alexsandro Percy 2024-09-01 04:29:46 -03:00
parent 4e61b4f584
commit 6084a16de9

View File

@ -85,9 +85,9 @@ function automobiles_lib.control(self, dtime, hull_direction, longit_speed, long
--wheel break
if longit_speed > 0 then
acc = -5
if (longit_speed + acc) < 0 then
--[[if (longit_speed + acc) < 0 then
acc = longit_speed * -1
end
end]]--
end
if longit_speed < 0 then
acc = 5