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

Birther can apply data to the party

git-svn-id: http://svn.net-core.org/repos/t-engine4@6817 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5f6cb5a1
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,16 @@ function _M:applyingDescriptor(i, d)
end
end
end
if d.party_copy then
local copy = table.clone(d.party_copy, true)
-- Append array part
while #copy > 0 do
local f = table.remove(copy)
table.insert(game.party, f)
end
-- Copy normal data
table.merge(game.party, copy, true)
end
self:applyGameState(d)
end
......
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