diff Icon.lua @ 11:d2cbfe498c4d

first beta
author Jay Bird <a4blank@yahoo.com>
date Sat, 04 Dec 2010 05:53:52 +0300
parents f93b554bb7cf
children
line wrap: on
line diff
--- a/Icon.lua	Sun Nov 28 18:59:31 2010 +0300
+++ b/Icon.lua	Sat Dec 04 05:53:52 2010 +0300
@@ -15,7 +15,10 @@
     tex:SetAllPoints(frame)
     tex:SetTexture("Interface\\TARGETINGFRAME\\UI-RaidTargetingIcon_" .. self.num)
     frame:Show()
-    return frame
+end
+
+function RaidIcon:GetChatCommand()
+    return "{rt" .. self.num .. "}"
 end
 
 _G.RaidIcons = {}