Skip to content

Commit

Permalink
New patch
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudbells committed Dec 11, 2019
1 parent ae70733 commit ed2b3d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions FieldGuide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -882,9 +882,9 @@ function FieldGuide_OnEvent(self, event, ...)
FieldGuideOptions.pins = {}
end
FieldGuideOptions = FieldGuideOptions or {}
FieldGuideOptions.showTalents = FieldGuideOptions.showTalents
FieldGuideOptions.showEnemySpells = FieldGuideOptions.showEnemySpells
FieldGuideOptions.showKnownSpells = FieldGuideOptions.showKnownSpells
FieldGuideOptions.showTalents = FieldGuideOptions.showTalents or true
FieldGuideOptions.showEnemySpells = FieldGuideOptions.showEnemySpells or true
FieldGuideOptions.showKnownSpells = FieldGuideOptions.showKnownSpells or false
FieldGuideOptions.unwantedSpells = FieldGuideOptions.unwantedSpells or {}
FieldGuideOptions.minimapTable = FieldGuideOptions.minimapTable or {}
FieldGuideOptions.pins = FieldGuideOptions.pins or {}
Expand All @@ -900,7 +900,7 @@ function FieldGuide_OnEvent(self, event, ...)
elseif event == "SKILL_LINES_CHANGED" then
if selectedClass == "WEAPONS" then
hideUnwantedWeapons()
updateButtons()
updateWeapons()
end
elseif event == "UNIT_PET" then
if selectedClass == "HUNTER_PETS" or selectedClass == "WARLOCK_PETS" then
Expand Down
2 changes: 1 addition & 1 deletion FieldGuide.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 11302
## Interface: 11303
## Title: Field Guide
## Notes: Shows when spells are trainable and how much each spell costs to train, and other stuff.
## Author: cloudbells
Expand Down

0 comments on commit ed2b3d7

Please sign in to comment.