Quantcast

Some importing stuff

Darthpred [10-01-14 - 17:23]
Some importing stuff
Filename
ElvUI_SLE/core/toolkit.lua
diff --git a/ElvUI_SLE/core/toolkit.lua b/ElvUI_SLE/core/toolkit.lua
index df2a563..982402e 100644
--- a/ElvUI_SLE/core/toolkit.lua
+++ b/ElvUI_SLE/core/toolkit.lua
@@ -126,10 +126,12 @@ end
 function SLE:ImportTableReplace(msg)
 	if string.find(msg, "E.db") then
 		msg = gsub(msg, "E.db", "ElvUI[1].db")
-	elseif string.find(msg, "E.private") then
+	end
+	if string.find(msg, "E.private") then
 		msg = gsub(msg, "E.private", "ElvUI[1].private")
-	else
-		return nil
+	end
+	if string.find(msg, "E.global") then
+		msg = gsub(msg, "E.global", "ElvUI[1].global")
 	end

 	return msg