From 937c4c3dd4cd26c4c07496ae724381d348a43e98 Mon Sep 17 00:00:00 2001 From: Eltreum <30246110+eltreum0@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:25:14 -0300 Subject: [PATCH] only disable in retail --- ElvUI_EltreumUI/Core/Install.lua | 4 +++- ElvUI_EltreumUI/Layouts/UpdateElvUISettings.lua | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ElvUI_EltreumUI/Core/Install.lua b/ElvUI_EltreumUI/Core/Install.lua index 4accce713..18fadaf90 100644 --- a/ElvUI_EltreumUI/Core/Install.lua +++ b/ElvUI_EltreumUI/Core/Install.lua @@ -376,7 +376,9 @@ ElvUI_EltreumUI.InstallerData = { ElvUI_EltreumUI:SetupNamePlates() ElvUI_EltreumUI:ResolutionOutline() ElvUI_EltreumUI:UpdateEltruismSettings() - ElvUI_EltreumUI:ModelsToggle(true) --disable models after layout for now due to the 3D model bug + if E.Retail then + ElvUI_EltreumUI:ModelsToggle(true) --disable models after layout for now due to the 3D model bug + end PlaySound(888) end) _G.PluginInstallFrame.Option1:SetScript('OnEnter', function() ElvUI_EltreumUI:ImproveInstall("dps","ENTERING") end) diff --git a/ElvUI_EltreumUI/Layouts/UpdateElvUISettings.lua b/ElvUI_EltreumUI/Layouts/UpdateElvUISettings.lua index 018ee3dd0..80126ff9b 100644 --- a/ElvUI_EltreumUI/Layouts/UpdateElvUISettings.lua +++ b/ElvUI_EltreumUI/Layouts/UpdateElvUISettings.lua @@ -144,6 +144,10 @@ function ElvUI_EltreumUI:UpdateElvUISettings(update) end end + if E.Retail then + ElvUI_EltreumUI:ModelsToggle(true) --disable models after layout for now due to the 3D model bug + end + ElvUI_EltreumUI:Print(L["Settings for ElvUI were updated."]) end else