mirror of
https://github.com/APercy/airutils.git
synced 2025-07-13 18:02:03 -04:00
improved passengers rescue
This commit is contained in:
parent
e05d1c52d5
commit
315de219b1
2 changed files with 60 additions and 4 deletions
|
@ -323,10 +323,9 @@ function airutils.logic(self)
|
|||
local is_attached = airutils.checkAttach(self, player)
|
||||
if self._indicated_speed == nil then self._indicated_speed = 0 end
|
||||
|
||||
if not is_attached and not self._autoflymode == true then
|
||||
-- for some engine error the player can be detached from the machine, so lets set him attached again
|
||||
airutils.checkattachBug(self)
|
||||
end
|
||||
-- for some engine error the player can be detached from the machine, so lets set him attached again
|
||||
airutils.checkattachBug(self)
|
||||
|
||||
|
||||
if self._custom_step_additional_function then
|
||||
self._custom_step_additional_function(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue