mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +08:00
fix scores sorting in scorescreen activity
This commit is contained in:
parent
b2f70fb2af
commit
be4de98e7c
@ -676,7 +676,8 @@ class CoopScoreScreen(ba.Activity):
|
||||
our_score = None
|
||||
|
||||
try:
|
||||
our_high_scores.sort(reverse=self._score_order == 'increasing')
|
||||
our_high_scores.sort(reverse=self._score_order == 'increasing',
|
||||
key=lambda x: x[0])
|
||||
except Exception:
|
||||
ba.print_exception('Error sorting scores')
|
||||
print('our_high_scores:', our_high_scores)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user