From d5f037a79ed20ff4a6222fb340d44cb712ee0d3a Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Fri, 15 Mar 2024 21:11:21 -0300 Subject: [PATCH] reverted change --- lib_planes/utilities.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_planes/utilities.lua b/lib_planes/utilities.lua index 3fd36a0..7dc4589 100644 --- a/lib_planes/utilities.lua +++ b/lib_planes/utilities.lua @@ -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)