From b159e9da02f09161bbd724fcbebeadef78b618e9 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 29 Jul 2016 08:39:16 +0300 Subject: [PATCH] Fixed instance indicator not updating with difficulty change. This fixes #236 --- CHANGELOG.txt | 4 ++++ ElvUI_SLE/modules/minimap/instance.lua | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1f05ab5..95ce990 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +v3.09 +Fixes: +- Fixed instance indicator not updating when difficulty is changed inside the instance + v3.08 07/28/2016 Fixes: - Fixed incorrect logic in global update causeing errors on profile switch and install (also caused errors on some options changing) diff --git a/ElvUI_SLE/modules/minimap/instance.lua b/ElvUI_SLE/modules/minimap/instance.lua index 5361332..dbfcbd4 100644 --- a/ElvUI_SLE/modules/minimap/instance.lua +++ b/ElvUI_SLE/modules/minimap/instance.lua @@ -131,6 +131,7 @@ function I:Initialize() self:RegisterEvent("ZONE_CHANGED_NEW_AREA", "GenerateText") self:RegisterEvent("GUILD_PARTY_STATE_UPDATED", "GenerateText") self:UpdateFrame() + hooksecurefunc("MiniMapInstanceDifficulty_Update", I.GenerateText) function I:ForUpdateAll() I.db = E.db.sle.minimap.instance -- 1.7.9.5