mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Update Point.lua
Fixed bug in GetClosestAirbase() function.
This commit is contained in:
parent
ab1cd41d79
commit
1cea10f03a
@ -1269,7 +1269,7 @@ do -- COORDINATE
|
|||||||
for _,_airbase in pairs(airbases) do
|
for _,_airbase in pairs(airbases) do
|
||||||
local airbase=_airbase --Wrapper.Airbase#AIRBASE
|
local airbase=_airbase --Wrapper.Airbase#AIRBASE
|
||||||
if airbase then
|
if airbase then
|
||||||
local category=airbase:GetCategory()
|
local category=airbase:GetAirbaseCategory()
|
||||||
if Category and Category==category or Category==nil then
|
if Category and Category==category or Category==nil then
|
||||||
|
|
||||||
-- Distance to airbase.
|
-- Distance to airbase.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user