Quantcast

Set the encounter to make sure we have the right loot

Adrian L Lange [04-27-13 - 20:31]
Set the encounter to make sure we have the right loot
Filename
HabeebIt.lua
diff --git a/HabeebIt.lua b/HabeebIt.lua
index 88a48c9..827422d 100644
--- a/HabeebIt.lua
+++ b/HabeebIt.lua
@@ -135,6 +135,7 @@ local function InitializeList(specialization, shown)

 	local currentInstance = EJ_GetCurrentInstance()
 	EJ_SelectInstance(currentInstance > 0 and currentInstance or 322)
+	EJ_SelectEncounter(currentEncounterID)

 	local _, _, difficulty = GetInstanceInfo()
 	EJ_SetDifficulty(difficulty > 2 and (difficulty - 2) or 1)