From 573e254151481c8d1dd71a2fb088a8a1d2772176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kelly=20Crabbe=CC=81?= Date: Wed, 4 Dec 2013 14:24:09 +0100 Subject: [PATCH] added the correct events --- instancing.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/instancing.lua b/instancing.lua index 77fb94d..7d9c2a4 100755 --- a/instancing.lua +++ b/instancing.lua @@ -3,8 +3,6 @@ local _, class = UnitClass("player") local color = RAID_CLASS_COLORS[class] local id = CreateFrame("Frame", nil, UIParent) -LookInTehCorner:RegisterEvent("PLAYER_ENTERING_WORLD") -LookInTehCorner:RegisterEvent("PLAYER_DIFFICULTY_CHANGED") local idtext = id:CreateFontString(nil, "OVERLAY") idtext:SetPoint("TOPRIGHT", Minimap, "TOPRIGHT", 0, -4) @@ -57,4 +55,11 @@ function indiff() idtext:SetText("") end end -id:SetScript("OnEvent", function() indiff() end) \ No newline at end of file +id:SetScript("OnEvent", function() indiff() end) +id:RegisterEvent"PLAYER_DIFFICULTY_CHANGED" +id:RegisterEvent"UPDATE_INSTANCE_INFO" +id:RegisterEvent"GROUP_ROSTER_UPDATE" +id:RegisterEvent"PLAYER_GUILD_UPDATE" +id:RegisterEvent"PARTY_MEMBER_ENABLE" +id:RegisterEvent"PARTY_MEMBER_DISABLE" +id:RegisterEvent"GUILD_PARTY_STATE_UPDATED" \ No newline at end of file -- 1.7.9.5