mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-09 01:09:40 +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
|
our_score = None
|
||||||
|
|
||||||
try:
|
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:
|
except Exception:
|
||||||
ba.print_exception('Error sorting scores')
|
ba.print_exception('Error sorting scores')
|
||||||
print('our_high_scores:', our_high_scores)
|
print('our_high_scores:', our_high_scores)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user