优化ui,谱面替换,以及科研模糊
This commit is contained in:
@@ -329,10 +329,10 @@ public class UI_SongsSelect_RuntimeFeatures : MonoBehaviour
|
||||
|
||||
int difficulty = Mathf.Clamp(song.thisLevel_selectedDifficultyID, 0, 3);
|
||||
TextAsset chart = song.GetChartFile(difficulty);
|
||||
if (chart == null)
|
||||
if (chart == null || string.IsNullOrEmpty(chart.text))
|
||||
{
|
||||
gNotice.error.display("未找到此难度的关卡");
|
||||
Debug.LogError($"[Songs_Select] Enter gameplay cancelled: chart missing for '{song.songName}' difficulty {difficulty}.");
|
||||
gNotice.error.display("本歌曲本难度未找到");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user