mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fix lift
This commit is contained in:
parent
da87150918
commit
58fda74994
1 changed files with 1 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -304,6 +304,7 @@ function airutils.getLiftAccel(self, velocity, accel, longit_speed, roll, curr_p
|
|||
-----------------------------------------------------------
|
||||
-- end lift
|
||||
local multiplier = self.dtime / airutils.ideal_step
|
||||
if multiplier < 1 then multiplier = 1 end
|
||||
retval = retval * multiplier
|
||||
|
||||
return retval
|
||||
|
|
Loading…
Add table
Reference in a new issue