changed acc division

This commit is contained in:
Alexsandro Percy 2024-01-29 07:42:19 -03:00
parent 0b73fa504b
commit 6ad18f8e67
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ function airutils.heli_control(self, dtime, hull_direction, longit_speed, longit
local yaw_cmd = 0
if is_flying or self.wheels then
local acc_fraction = (self._max_engine_acc / 10)*time_correction
local acc_fraction = (self._max_engine_acc / 20)*time_correction
if ctrl.up then
if longit_speed < self._max_speed then self._acceleration = self._acceleration + acc_fraction end
elseif ctrl.down then