Skip to content
Snippets Groups Projects
Commit ebac2882 authored by dg's avatar dg
Browse files

Rod of Recall is not an arcane item anymore

git-svn-id: http://svn.net-core.org/repos/t-engine4@2671 51575b47-30f0-44d4-a5cc-537603b46e54
parent 322390f6
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,10 @@ end
local function copy_recurs(dst, src, deep)
for k, e in pairs(src) do
print("================",k,e)
if type(e) == "table" and e.__CLASSNAME then
dst[k] = e
elseif not dst[k] then
elseif dst[k] == nil then
if deep then
dst[k] = {}
copy_recurs(dst[k], e, deep)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment