572
edits
No edit summary |
No edit summary |
||
Line 326: | Line 326: | ||
-- Gets a building and prepares all the relevant stats for the building | -- Gets a building and prepares all the relevant stats for the building | ||
function p.GetBuildingTable(frame) | function p.GetBuildingTable(frame) | ||
local name = frame.args[1] or frame | |||
mw.logObject(frame) | |||
local building = p._GetBuildingByName(name) | local building = p._GetBuildingByName(name) | ||
local resources = p._ResourcesData() | local resources = p._ResourcesData() |
edits