mirror of
https://github.com/APercy/airutils
synced 2025-07-05 06:38:02 +02:00
remove player rescue when in auto mode
This commit is contained in:
parent
836c6d10f6
commit
e05d1c52d5
@ -323,7 +323,7 @@ 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 then
|
||||
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
|
||||
@ -512,7 +512,9 @@ function airutils.logic(self)
|
||||
--end accell
|
||||
|
||||
--get disconnected players
|
||||
airutils.rescueConnectionFailedPassengers(self)
|
||||
if not self._autoflymode == true then
|
||||
airutils.rescueConnectionFailedPassengers(self)
|
||||
end
|
||||
|
||||
if accel == nil then accel = {x=0,y=0,z=0} end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user