HydraUI

HydraUI

841k Downloads

Aura's still displaying after load/reload when the setting is switched off.

CadoCat opened this issue ยท 3 comments

commented

Raising from the discord. The fix is adding the following to the Auras.LUA file in the function Auras:Load() section:

        if Settings["auras-show"] then
		for i = 1, 2 do
			Auras.Headers[i]:Show()
		end
	else
		for i = 1, 2 do
			Auras.Headers[i]:Hide()
		end
	end
commented

After double checking the code and testing it myself, my only conclusion is that the player isn't using a current version where the auras disable properly. Adding the code you suggested is actually redundant since Auras:Load() evaluates Settings["auras-show"] first and then bails from any aura creation

commented

I tested again and it's definitely not functioning correctly. I'm on 2.132 and could replicate the issue.
image

I couldn't find anywhere in the Auras:Load() a check for theSettings["auras-show"].

commented

My mistake here, I misunderstood and thought we were talking about the enable setting! This was easily adjusted