From ed2b3d78063a68e15439456563b62bbe1d2727fd Mon Sep 17 00:00:00 2001 From: cloudbells Date: Wed, 11 Dec 2019 07:42:37 +0100 Subject: [PATCH] New patch --- FieldGuide.lua | 8 ++++---- FieldGuide.toc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FieldGuide.lua b/FieldGuide.lua index 012d2f8..c6cef2d 100644 --- a/FieldGuide.lua +++ b/FieldGuide.lua @@ -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 {} @@ -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 diff --git a/FieldGuide.toc b/FieldGuide.toc index 2e6c835..02213a5 100644 --- a/FieldGuide.toc +++ b/FieldGuide.toc @@ -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