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
@@ -1559,7 +1559,7 @@ function CONTROLLABLE:EnRouteTaskAWACS( )
local DCSTask = {
id = 'AWACS',
params = {}
params = {},
}
return DCSTask
@@ -1573,7 +1573,7 @@ function CONTROLLABLE:EnRouteTaskTanker( )
local DCSTask = {
id = 'Tanker',
params = {}
params = {},
}
return DCSTask
@@ -1589,7 +1589,7 @@ function CONTROLLABLE:EnRouteTaskEWR( )
local DCSTask = {
id = 'EWR',
params = {}
params = {},
}
return DCSTask