# HG changeset patch # User rowaasr13 # Date 1475960388 -10800 # Node ID 56099742e29b91f802f65ae9e3e78b3f86b4926d # Parent d5e5eee5b216da0d143c78283cb722d3545a5713 oops, dot address should be default or it will be broken diff -r d5e5eee5b216 -r 56099742e29b OOCDo.lua --- 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)