Co-authored-by: Blitz54 <Blitz54@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-10-23 23:48:17 -05:00
committed by GitHub
parent 4c15ded056
commit e18fe25b1f

View File

@@ -361,7 +361,9 @@ function GemSelectClass:SortGemList(gemList)
if self.skillsTab.sortGemsByDPS and sortCache.dps[a] ~= sortCache.dps[b] then
return sortCache.dps[a] > sortCache.dps[b]
else
return a < b
local nameA = (self.gems[a] and self.gems[a].name) or a
local nameB = (self.gems[b] and self.gems[b].name) or b
return nameA < nameB
end
else
return sortCache.canSupport[a]