mirror of
https://github.com/APercy/airutils.git
synced 2025-03-21 18:41:21 +00:00
fixed mouse control activation/deactivation
This commit is contained in:
parent
400ca59c29
commit
687b2eda5c
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ function airutils.heli_control(self, dtime, hull_direction, longit_speed, longit
|
||||||
--self._rudder_angle = 0
|
--self._rudder_angle = 0
|
||||||
end
|
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
|
self._last_time_command = 0
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if self._yaw_by_mouse == true then
|
if self._yaw_by_mouse == true then
|
||||||
|
|
Loading…
Add table
Reference in a new issue