/branches
return |
end |
-- Attempt to get source flight point if another addon auto-takes the taxi |
-- which can cause this function to run before the TAXIMAP_OPENED function |
if not taxiSrc then |
for i = 1, NumTaxiNodes(), 1 do |
if TaxiNodeGetType(i) == "CURRENT" then |
taxiSrc = ShortenName(TaxiNodeName(i)) |
break |
end |
end |
if not taxiSrc then |
oldTakeTaxiNode(slot) |
return |
end |
end |
taxiDst = ShortenName(TaxiNodeName(slot)) |
local t = vars[taxiSrc] |
if t and t[taxiDst] and t[taxiDst] > 0 then -- saved variables lookup |
end |
end |
taxiSrc = nil |
taxiDst = nil |
endTime = nil |
endText = FormatTime(endTime) |
sb:Hide() |