572
edits
No edit summary |
No edit summary |
||
Line 330: | Line 330: | ||
function p.GetBuildingTable(frame) | function p.GetBuildingTable(frame) | ||
local name = frame.args ~= nil and frame.args[1] or frame | local name = frame.args ~= nil and frame.args[1] or frame | ||
local building = p._GetBuildingByName(name) | local building = Shared.clone(p._GetBuildingByName(name)) | ||
local resources = p._ResourcesData() | local resources = p._ResourcesData() | ||
local ret = {} | local ret = {} |
edits