reverted change

This commit is contained in:
Alexsandro Percy 2024-03-15 21:11:21 -03:00
parent 6d8a99e7a8
commit d5f037a79e

View file

@ -641,7 +641,7 @@ function airutils.checkattachBug(self)
end ---end for end ---end for
end]]-- end]]--
local max_seats = table.getn(self._passengers_base) --[[local max_seats = table.getn(self._passengers_base)
if max_seats > 2 then if max_seats > 2 then
for i = max_seats,3,-1 do for i = max_seats,3,-1 do
if self._passengers[i] then if self._passengers[i] then
@ -651,7 +651,7 @@ function airutils.checkattachBug(self)
end end
end end
end end
end end]]--
-- for some engine error the player can be detached from the submarine, so lets set him attached again -- for some engine error the player can be detached from the submarine, so lets set him attached again
local have_driver = (self.driver_name ~= nil) local have_driver = (self.driver_name ~= nil)