jesus christ this was too easy (thank you @Bunny67)

This commit is contained in:
Crum
2018-06-21 11:25:00 -05:00
parent 7cdd966fbf
commit 1f2826f062
+1
View File
@@ -14,6 +14,7 @@ function DT:PanelLayoutOptions()
local order;
local table = E.Options.args.datatexts.args.panels.args;
for pointLoc, tab in pairs(P.datatexts.panels) do
local pointLoc = pointLoc -- add this
if(not _G[pointLoc]) then table[pointLoc] = nil; return; end
if(type(tab) == "table") then
if find(pointLoc, "Chat") then