17,370
edits
(getSkillcapeTable: Implement, _getPurchaseDescription: Implement) |
(_getShopTable: Use game defined order when no custom sort defined) |
||
Line 444: | Line 444: | ||
end | end | ||
if sortOrder == nil then | if sortOrder == nil then | ||
Purchases = GameData.sortByOrderTable(Purchases, GameData.rawData.shopDisplayOrder, true) | |||
else | else | ||
table.sort(Purchases, sortOrder) | table.sort(Purchases, sortOrder) | ||
end | end | ||
for i, purchase in | for i, purchase in ipairs(Purchases) do | ||
local purchName = p._getPurchaseName(purchase) | local purchName = p._getPurchaseName(purchase) | ||
local purchOverride = nil | local purchOverride = nil |