Update Airbase.lua

- Fixed bug in counting the number of parking spots per terminal type
This commit is contained in:
Frank 2025-03-13 16:40:57 +01:00
parent 32f0bb33c3
commit 3c57928f46

View File

@ -1638,7 +1638,7 @@ function AIRBASE:_InitParkingSpots()
self.NparkingTotal=self.NparkingTotal+1
for _,terminalType in pairs(AIRBASE.TerminalType) do
if self._CheckTerminalType(terminalType, park.TerminalType) then
if self._CheckTerminalType(park.TerminalType, terminalType) then
self.NparkingTerminal[terminalType]=self.NparkingTerminal[terminalType]+1
end
end