Apply changes from https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/pull/1484 (#9007)
Co-authored-by: Blitz54 <Blitz54@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4c15ded056
commit
e18fe25b1f
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user