Commit 00698248 authored by fgprodigal's avatar fgprodigal

Update Install Profile

parent dc7bf6d1
......@@ -56,5 +56,5 @@ function RayUI:Initialize()
E:GetModule("PluginInstaller"):Queue(RayUI.installTable)
end
self:RegisterEvent("LOADING_SCREEN_DISABLED")
self:RegisterEvent("PLAYER_LOGIN")
end
......@@ -93,10 +93,13 @@ function RayUI:IsAddOnEnabled(addon) -- Credit: Azilroka
end
-- Disable profanityFilter. By EKE
function RayUI:LOADING_SCREEN_DISABLED()
function RayUI:PLAYER_LOGIN(event)
self:UnregisterEvent(event)
if GetCVar("portal") ~= "CN" then return end
ConsoleExec("portal TW")
ConsoleExec("profanityFilter 0")
SetCVar("profanityFilter", 0)
end
function E:ShortenString(str, numChars, dots)
......
......@@ -337,7 +337,6 @@ function RayUI:SetupVariables(colorMode)
-- GlobalDB
--]]----------------------------------
E.global["general"]["animateConfig"] = false
E.global["general"]["autoScale"] = true
E.global["general"]["commandBarSetting"] = "ENABLED_RESIZEPARENT"
if GetLocale() == "zhCN" then
E.global["general"]["numberPrefixStyle"] = "CHINESE"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment