fix(songselect): category jump fallback to song_type when category missing

This commit is contained in:
2025-11-23 13:07:17 +08:00
parent 9f2d753500
commit 84a0c2b7e0

View File

@@ -2965,6 +2965,13 @@ class SongSelect{
var categoryName = song.category
var originalCategory = song.category
}
// Fallback: if category is missing, use song_type to enable category jump
if(!categoryName){
if(song.song_type){
categoryName = song.song_type
originalCategory = song.song_type
}
}
var addedSong = {
title: title,
originalTitle: song.title,