572
edits
(Add GetBuildingBiomeTable) |
(Updated resourceDisplayOrder/buildingDisplayOrder) |
||
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