From a61a64ba751ff9d4714734871ccb1aa346ec4269 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Tue, 25 Mar 2025 19:58:03 -0300 Subject: [PATCH] improve roll --- automobiles_lib/entities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automobiles_lib/entities.lua b/automobiles_lib/entities.lua index 9010e6d..432ec4e 100644 --- a/automobiles_lib/entities.lua +++ b/automobiles_lib/entities.lua @@ -737,7 +737,7 @@ function automobiles_lib.on_step(self, dtime) end local newpitch = self._pitch --velocity.y * math.rad(6) - local newroll = 0 + local newroll = self._roll or 0 if self._is_flying == 1 then newpitch = 0 local turn_effect_speed = longit_speed