fixed mouse control activation/deactivation

This commit is contained in:
Alexsandro Percy 2024-01-26 06:51:12 -03:00
parent 400ca59c29
commit 687b2eda5c
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ function airutils.heli_control(self, dtime, hull_direction, longit_speed, longit
--self._rudder_angle = 0
end
if ctrl.up and ctrl.down and self._last_time_command > 0.5 then
if ctrl.up and ctrl.down and self._last_time_command >= 0.5 then
self._last_time_command = 0
local name = player:get_player_name()
if self._yaw_by_mouse == true then