Fix: Backend score parsing (points vs score) and Frontend songselect ID fallback

This commit is contained in:
2026-01-17 21:03:09 +08:00
parent bb3ad834b2
commit 45d6b1d9de
2 changed files with 10 additions and 2 deletions

View File

@@ -3335,7 +3335,9 @@ class SongSelect {
});
}
toLeaderboard() {
var songId = this.songs[this.selectedSong].id
var song = this.songs[this.selectedSong]
var songId = song.id || song.hash
// Allow leaderboard for any song with an ID (numeric or hash)
if (!songId) {
return