reverted change

This commit is contained in:
Alexsandro Percy 2024-03-15 21:11:21 -03:00
parent 6d8a99e7a8
commit d5f037a79e
1 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ function airutils.checkattachBug(self)
end ---end for
end]]--
local max_seats = table.getn(self._passengers_base)
--[[local max_seats = table.getn(self._passengers_base)
if max_seats > 2 then
for i = max_seats,3,-1 do
if self._passengers[i] then
@ -651,7 +651,7 @@ function airutils.checkattachBug(self)
end
end
end
end
end]]--
-- 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)