mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
remove player rescue when in auto mode
This commit is contained in:
parent
836c6d10f6
commit
e05d1c52d5
1 changed files with 4 additions and 2 deletions
|
@ -323,7 +323,7 @@ function airutils.logic(self)
|
||||||
local is_attached = airutils.checkAttach(self, player)
|
local is_attached = airutils.checkAttach(self, player)
|
||||||
if self._indicated_speed == nil then self._indicated_speed = 0 end
|
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
|
-- for some engine error the player can be detached from the machine, so lets set him attached again
|
||||||
airutils.checkattachBug(self)
|
airutils.checkattachBug(self)
|
||||||
end
|
end
|
||||||
|
@ -512,7 +512,9 @@ function airutils.logic(self)
|
||||||
--end accell
|
--end accell
|
||||||
|
|
||||||
--get disconnected players
|
--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
|
if accel == nil then accel = {x=0,y=0,z=0} end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue