mirror of
https://codeberg.org/uzu/strudel
synced 2026-10-20 05:53:26 -04:00
Fix cps haps sort order being reversed
This commit is contained in:
@@ -82,10 +82,10 @@ export class Cyclist {
|
||||
// are adjusted accordingly.
|
||||
if (aBegin === bBegin) {
|
||||
if (a.value.cps !== undefined) {
|
||||
return b.value.cps !== undefined ? 0 : 1;
|
||||
return b.value.cps !== undefined ? 0 : -1;
|
||||
}
|
||||
if (b.value.cps !== undefined) {
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user