Quantcast

probably better

Darth Predator [09-25-17 - 13:15]
probably better
Filename
ElvUI_SLE/modules/nameplates.lua
diff --git a/ElvUI_SLE/modules/nameplates.lua b/ElvUI_SLE/modules/nameplates.lua
index 832bf7f..1bb24a2 100644
--- a/ElvUI_SLE/modules/nameplates.lua
+++ b/ElvUI_SLE/modules/nameplates.lua
@@ -196,7 +196,7 @@ function N:Initialize()
 	E:Delay(.3, function() N:UpdateCount(nil,"player", true) end)
 	function N:ForUpdateAll()
 		--DB converts
-		if E.db.sle.nameplates.targetcount and T.type(E.db.sle.nameplates.targetcount) == "boolean" then
+		if (E.db.sle.nameplates.targetcount and T.type(E.db.sle.nameplates.targetcount) == "boolean") or not E.db.sle.nameplates.targetcount then
 			local oldEnable = E.db.sle.nameplates.targetcount
 			E.db.sle.nameplates.targetcount = {
 				["enable"] = oldEnable,