changeset 2:56099742e29b v2

oops, dot address should be default or it will be broken
author rowaasr13
date Sat, 08 Oct 2016 23:59:48 +0300
parents d5e5eee5b216
children 2062bc10a307
files OOCDo.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OOCDo.lua	Sat Oct 08 20:33:09 2016 +0300
+++ b/OOCDo.lua	Sat Oct 08 23:59:48 2016 +0300
@@ -18,7 +18,7 @@
    'self:SetAttribute("macrotext", "")' -- post
 )
 
-function button:MacroText(command, command2)
+function button.MacroText(command, command2)
    if command == button then command = command2 end
    if InCombatLockdown() then return end
    button:SetAttribute("macrotext", command)