mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
Merge pull request #363 from Hitjack007/stable-tank-sort-order
This commit is contained in:
1 file changed
+1
@@ -12,6 +12,7 @@ export function metaSortTank(
|
||||
gameDefinitions: GameDefinitions,
|
||||
) {
|
||||
return tanks
|
||||
.sort((a, b) => a.id - b.id)
|
||||
.sort((a, b) => b.tier - a.tier)
|
||||
.sort(
|
||||
(a, b) => treeTypeOrder.indexOf(b.type) - treeTypeOrder.indexOf(a.type),
|
||||
|
||||
Reference in new issue
Block a user