From 579e154a27729be4bfb630ec5bc1b6458a6a9ba1 Mon Sep 17 00:00:00 2001 From: Eltreum <30246110+eltreum0@users.noreply.github.com> Date: Mon, 26 Feb 2024 03:25:57 -0300 Subject: [PATCH] fix typo --- ElvUI_EltreumUI/Modules/Skins/Unitframes/Textures.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ElvUI_EltreumUI/Modules/Skins/Unitframes/Textures.lua b/ElvUI_EltreumUI/Modules/Skins/Unitframes/Textures.lua index 7055dbf40..1027cf0e4 100644 --- a/ElvUI_EltreumUI/Modules/Skins/Unitframes/Textures.lua +++ b/ElvUI_EltreumUI/Modules/Skins/Unitframes/Textures.lua @@ -233,21 +233,21 @@ function ElvUI_EltreumUI:ApplyGroupCustomTexture(button,noOrientation) end end elseif E.db.ElvUI_EltreumUI.unitframes.darkmode then - if unitframe.Health.backdropTex then + if button.Health.backdropTex then if E.db.ElvUI_EltreumUI.unitframes.ufcustomtexture.enable then if not E.db.ElvUI_EltreumUI.unitframes.ufcustomtexture.noclasstexture then - unitframe.Health.backdropTex:SetTexture(ElvUI_EltreumUI:UnitframeClassTextureCustom(buttonclass)) + button.Health.backdropTex:SetTexture(ElvUI_EltreumUI:UnitframeClassTextureCustom(buttonclass)) else - unitframe.Health.backdropTex:SetTexture(groupbar) + button.Health.backdropTex:SetTexture(groupbar) end else if E.db.ElvUI_EltreumUI.unitframes.gradientmode.enable then if E.db.ElvUI_EltreumUI.unitframes.gradientmode.enablegroupunits and not E.db.ElvUI_EltreumUI.unitframes.gradientmode.useUFtexture then - unitframe.Health.backdropTex:SetTexture(E.LSM:Fetch("statusbar", E.db.ElvUI_EltreumUI.unitframes.gradientmode.texture)) + button.Health.backdropTex:SetTexture(E.LSM:Fetch("statusbar", E.db.ElvUI_EltreumUI.unitframes.gradientmode.texture)) end else if E.db.ElvUI_EltreumUI.unitframes.uftextureversion ~= "NONE" then - unitframe.Health.backdropTex:SetTexture(groupbar) + button.Health.backdropTex:SetTexture(groupbar) end end end