This commit is contained in:
Frank
2020-03-16 22:56:45 +01:00
parent b9fc1df2e4
commit 9cb551e6fa
6 changed files with 32 additions and 13 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ function AIRBASE:GetParkingSpotsNumber(termtype)
local parkingdata=self:GetParkingData(false)
local nspots=0
for _,parkingspot in pairs(self.parking) do
for _,parkingspot in pairs(parkingdata) do --self.parking) do
if AIRBASE._CheckTerminalType(parkingspot.Term_Type, termtype) then
nspots=nspots+1
end