table copy improvements

This commit is contained in:
Tercio Jose
2022-03-09 16:02:55 -03:00
parent 92e138ed09
commit ade373ff10
5 changed files with 76 additions and 35 deletions
-1
View File
@@ -528,7 +528,6 @@ function _detalhes:SaveProfile (saveas)
local profile = _detalhes:GetProfile (profile_name, true)
--> save default keys
for key, _ in pairs (_detalhes.default_profile) do
local current_value = _detalhes [key]
+15
View File
@@ -168,6 +168,21 @@ function SlashCmdList.DETAILS (msg, editbox)
elseif (command == "discord") then
_detalhes:CopyPaste ("https://discord.gg/AGSzAZX")
elseif (command == "exitlog") then
local newT = {}
for _, str in ipairs(_detalhes_global.exit_log) do
newT [#newT+1] = str
end
newT [#newT+1] = ""
for _, str in ipairs(_detalhes_global.exit_errors) do
newT [#newT+1] = str
end
Details:Dump(newT)
elseif (command == "debugwindow") then