Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gladdy Refresh #2

Open
XiconQoo opened this issue Jan 28, 2022 · 0 comments
Open

Gladdy Refresh #2

XiconQoo opened this issue Jan 28, 2022 · 0 comments

Comments

@XiconQoo
Copy link
Owner

XiconQoo commented Jan 28, 2022

@Macumba I made a tiny fix for Gladdy.
If you got tired of Gladdy picking up your teammates as a target and don't want to /console reloadui every time like a dumblord here is another stupid fix so you could /gladdy refresh to clear Gladdy targets.
In Options.lua the following code could be replaced:

    elseif (msg == "hide") then
        Gladdy:Reset()
        Gladdy:HideFrame()
    else
        Gladdy:Print(L["Valid slash commands are:"])
        Gladdy:Print("/gladdy ui")
        Gladdy:Print("/gladdy test2-5")
        Gladdy:Print("/gladdy hide")
        Gladdy:Print("/gladdy reset")
    end
end

with

    elseif (msg == "hide") then
        Gladdy:Reset()
        Gladdy:HideFrame()
    elseif (msg == "refresh") then
        Gladdy:Reset()
        Gladdy:JoinedArena()
    else
        Gladdy:Print(L["Valid slash commands are:"])
        Gladdy:Print("/gladdy ui")
        Gladdy:Print("/gladdy test2-5")
        Gladdy:Print("/gladdy hide")
        Gladdy:Print("/gladdy reset")
        Gladdy:Print("/gladdy refresh")
    end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant