table copy improvements
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user