mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Airbase.lua
- Fixed bug in counting the number of parking spots per terminal type
This commit is contained in:
parent
32f0bb33c3
commit
3c57928f46
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user