Jump to content
Sign in to follow this  
Spacee (Katastrofen)

For those with problems > Supermacro + Bongos = error

Recommended Posts

The error I got was specifically at line 98 of the SM_Tooltip.lua file. I fixed it by putting some error-catching code in there. If you want this fixed, go to your SM_Tooltip.lua file and navigate to line 96. Then replace the block of code that starts there with the following:

local macroname, pic;
if ( this ) then
    local name = this:GetName();
    if ( name == nil or name == '' ) then
        name = "this:";
    end
    macroname=getglobal(name.."Name");
    if ( macroname ) then
        macroname:SetText(name);
    end
    pic = getglobal(name.."Icon");
    if ( pic ) then
        pic:SetTexture(icon);
    end
end

This should remove the error.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×