Quantcast

Dont rely on InCombatLockdown()

Adrian L Lange [12-30-09 - 22:44]
Dont rely on InCombatLockdown()
Filename
Broker_Equipment.lua
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index a29c0da..0f33a70 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -69,7 +69,7 @@ local function menuClick(button, name, icon)
 end

 local function updateInfo(name, icon)
-	broker.text = InCombatLockdown() and '|cffff0000'..pendingName or name
+	broker.text = pendingName and '|cffff0000'..pendingName or name
 	broker.icon = pendingIcon or icon

 	Broker_EquipmentDB.text = pendingName or name