From 9bd3467957c47c81a785dd23743e79f7b75998b5 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 21 Jul 2016 17:31:02 +0300 Subject: [PATCH] more tweaks cause I'd like to hook from dev's shit --- ElvUI_SLE/core/install.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua index e2be169..77d1a7f 100644 --- a/ElvUI_SLE/core/install.lua +++ b/ElvUI_SLE/core/install.lua @@ -617,9 +617,9 @@ function PI:DarthSetup() _G["PluginInstallStepComplete"]:Show() end -local function DarthAddons() +function PI:DarthAddons() if SkadaDB and T.IsAddOnLoaded("Skada") then - local damage, healing = locale == "ruRU" and "Нанесенный урон" or "Damage", locale == "ruRU" and "Исцеление" or "Healing" + local damage, healing = locale == "ruRU" and "Нанесённый урон" or "Damage", locale == "ruRU" and "Исцеление" or "Healing" local profileName = "Darth "..(locale == "ruRU" and "Ru" or "Eng") if not SkadaDB["profiles"][profileName] then SkadaDB["profiles"][profileName] = { @@ -845,7 +845,7 @@ end local function SetupAddons() if PI.SLE_Auth == "DARTH" then - DarthAddons() + PI:DarthAddons() end end -- 1.7.9.5