Quantcast

Don't trust blizzard showing at the right time

Adrian L Lange [04-27-13 - 19:27]
Don't trust blizzard showing at the right time
Filename
HabeebIt.lua
diff --git a/HabeebIt.lua b/HabeebIt.lua
index 45e5276..b0c25b3 100644
--- a/HabeebIt.lua
+++ b/HabeebIt.lua
@@ -228,7 +228,7 @@ Frame:SetScript('OnEvent', function(self, event, ...)
 				print('|cffff8080HabeebIt:|r Found an unused spell [' .. spellID .. ']. Please report this!')
 			end
 		end
-	elseif(event == 'EJ_LOOT_DATA_RECEIVED' and BonusRollFrame:IsShown()) then
+	elseif(event == 'EJ_LOOT_DATA_RECEIVED' and currentEncounterID) then
 		PopulateList()
 	elseif(event == 'PLAYER_LOGIN') then
 		self:RegisterEvent('SPELL_CONFIRMATION_PROMPT')