Quantcast

working unitframes again

Cynyr [10-29-10 - 04:38]
working unitframes again
Filename
config.lua
oUF_Cynyr.lua
diff --git a/config.lua b/config.lua
index fa78f38..2600ecb 100644
--- a/config.lua
+++ b/config.lua
@@ -31,7 +31,7 @@ cfg.backdrop = {
 --cfg.backdrop_edge_texture = "Interface\\AddOns\\oUF_Simple\\media\\backdrop_edge"
 cfg.font = "FONTS\\FRIZQT__.ttf"

-cfg.height = 27
+cfg.height = 20
 cfg.width = 185

 -----------------------------
diff --git a/oUF_Cynyr.lua b/oUF_Cynyr.lua
index 4d58a55..858c0dd 100644
--- a/oUF_Cynyr.lua
+++ b/oUF_Cynyr.lua
@@ -380,8 +380,8 @@ local UnitSpecific = {
         --]]
 	end,

-    player = function(self)
-        Shared(self)
+    player = function(self, ...)
+        Shared(self, ...)
         if (select(2, UnitClass('player')) == 'DEATHKNIGHT') then
             local Health = self.Health

@@ -420,8 +420,8 @@ local UnitSpecific = {
         end
     end,

-    targettarget = function(self)
-        Shared(self)
+    targettarget = function(self, ...)
+        Shared(self, ...)
         --Make target and focus smaller.
         self:SetAttribute('initial-width', cfg.width * 0.85)
     end,