Skip to content

Commit

Permalink
Fix #163 (#164)
Browse files Browse the repository at this point in the history
* fix warden skill id typo

* fix invalid member access in CheckSkills()

* fix #163, on OptionsPanel checkskills() access

---------

Co-authored-by: whiterabbit963 <[email protected]>
  • Loading branch information
whiterabbit963 and whiterabbit963 authored Jan 8, 2024
1 parent 6d220f1 commit c2dd32f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IndexedDictionaryDe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function TravelDictionaries:CreateDictionaries()
wardenLocations:AddSkill("Appell im Lager des Heeres", "0x70047BFC", "Lager des Heeres (Appell)");
wardenLocations:AddSkill("Appell in Haerondir", "0x70047C23", "Haerondir (Appell)");
wardenLocations:AddSkill("Appell am Udûn-Brückenkopf", "0x7004AE1F", "Udûn-Brückenkopf (Appell)");
wardenLocations:AddSkill("Appell in Thal", "0x7004A73A", "Thal (Appell)");
wardenLocations:AddSkill("Appell in Thal", "0x7004D73A", "Thal (Appell)");
wardenLocations:AddSkill("Appell in Járnfast", "0x7004FACA", "Jarnfast (Appell)");
wardenLocations:AddSkill("Appell in Skarháld", "0x7004FACD", "Skarhald (Appell)");
wardenLocations:AddSkill("Appell im Beorningerhús", "0x70052F0A", "Beorningerhús (Appell)");
Expand Down
2 changes: 1 addition & 1 deletion src/OptionsPanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ function OptionsPanel:AddBoxes()

-- do the check skills
self.checkSkillsButton.Click = function(sender, args)
TravelWindow:CheckSkills(true);
self.mainWindow:CheckSkills(true);
end
end

Expand Down
2 changes: 1 addition & 1 deletion src/TravelWindow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ function TravelWindow:CheckSkills(report)
local newShortcut = false;
-- loop through all the shortcuts and list those those that are not learned
for i = 1, #TravelShortcuts, 1 do
local wasFound = TravelShortcuts[i].shortcut;
local wasFound = TravelShortcuts[i].found;
if (TravelWindow:FindSkill(TravelShortcuts[i])) then
if not wasFound then
newShortcut = true;
Expand Down

0 comments on commit c2dd32f

Please sign in to comment.