Skip to content

Commit

Permalink
Fixed the Exile route not loading for some races (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo authored May 1, 2023
1 parent 60bea9b commit e541f60
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 80 deletions.
13 changes: 5 additions & 8 deletions APR-Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,12 @@ function APR.AutoPathOnBeta(routeChoice) -- For the Speed run and First characte
else
ZeMap = C_Map.GetBestMapForUnit("player")
end
local function autoPatchStartInsertRoute()
APR_Custom[APR.Name .. "-" .. APR.Realm] = nil
APR_Custom[APR.Name .. "-" .. APR.Realm] = {}
for CLi = 1, 19 do
APR.RoutePlan.FG1["Fxz2Custom" .. CLi]["FS"]:SetText("")
APR.RoutePlan.FG1["Fxz2Custom" .. CLi]:Hide()
end
APR_Custom[APR.Name .. "-" .. APR.Realm] = nil
APR_Custom[APR.Name .. "-" .. APR.Realm] = {}
for CLi = 1, 19 do
APR.RoutePlan.FG1["Fxz2Custom" .. CLi]["FS"]:SetText("")
APR.RoutePlan.FG1["Fxz2Custom" .. CLi]:Hide()
end
autoPatchStartInsertRoute()
if (APR.Level < 10 and (ZeMap == 1409 or ZeMap == 1726 or ZeMap == 1727)) then
tinsert(APR_Custom[APR.Name .. "-" .. APR.Realm], "01-10 Exile's Reach")
end
Expand Down
Loading

0 comments on commit e541f60

Please sign in to comment.