From d53974932c4be11a814ecb190bec59a6a2e6e37f Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 15 Jan 2007 23:35:49 +0000 Subject: [PATCH] Small fix for names not updating (units would be correct, names would be off) --- PerfectRaid.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PerfectRaid.lua b/PerfectRaid.lua index c33adef..a385771 100644 --- a/PerfectRaid.lua +++ b/PerfectRaid.lua @@ -385,13 +385,18 @@ local function OnAttributeChanged(frame, name, value) end end + local unitname = UnitName(value) if not frame.unit then frame.unit = value + frame.unitname = unitname else - if frame.unit == value then + if frame.unit == value and frame.unitname == unitname then return end end + + frame.unit = value + frame.unitname = unitname if value then -- Do Visual Configuration here -- 1.7.9.5