572
edits
No edit summary |
No edit summary |
||
Line 79: | Line 79: | ||
-- Get a sorted list of all the resources | -- Get a sorted list of all the resources | ||
local resources = GameData.sortByOrderTable(Township.resources, Township.resourceDisplayOrder) | |||
resources = Shared.clone(resources) | resources = Shared.clone(resources) | ||
Line 89: | Line 87: | ||
-- Returns a sorted list of all Township buildings | -- Returns a sorted list of all Township buildings | ||
function p._SortedBuildings() | function p._SortedBuildings() | ||
return GameData.sortByOrderTable(Township.buildings, Township.buildingDisplayOrder) | |||
end | end | ||
edits