[lua] function InFlight frame InitSource()
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- function InFlight:InitSource() -- cache source location and hook tooltips
- ------------------------------
- for i = 1, NumTaxiNodes(), 1 do
- local tb = _G["TaxiButton"..i]
- if tb and not tb.inflighted then
- tb:HookScript("OnEnter", postTaxiNodeOnButtonEnter)
- tb.inflighted = true
- end
- if TaxiNodeGetType(i) == "CURRENT" then
- source = ShortenName(FixTypos(TaxiNodeName(i))) --ShortenName(TaxiNodeName(i))
- end
- end
- end
Editor
You can edit this paste and save as new: