修了不少东西
This commit is contained in:
@@ -395,6 +395,7 @@ public class SongDetailsUI : MonoBehaviour
|
||||
if (song == null)
|
||||
{
|
||||
Debug.LogWarning("[SongDetailsUI] Room button clicked, but no song is currently selected.");
|
||||
Bansonic.gNotice.error.display("请先选择歌曲");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -402,6 +403,7 @@ public class SongDetailsUI : MonoBehaviour
|
||||
if (roomService == null)
|
||||
{
|
||||
Debug.LogWarning("[SongDetailsUI] ArenaRoomService is missing.");
|
||||
Bansonic.gNotice.error.display("房间服务尚未初始化,请稍后重试");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -415,6 +417,7 @@ public class SongDetailsUI : MonoBehaviour
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.LogWarning($"[SongDetailsUI] Failed to refresh current room: {ex.Message}");
|
||||
NetworkManager.ShowUserFacingNetworkError(ex.Message);
|
||||
DestroyRoomDetailsInstance();
|
||||
ShowRoomAsk(song, roomService);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user