From 96c48d3cb383b56e01636f7a1663ac506f614616 Mon Sep 17 00:00:00 2001 From: lishuo Date: Mon, 8 Aug 2022 17:34:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=88=98=E7=BB=93=E6=9D=9F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=87=AA=E5=B7=B1=E6=98=AF=E5=90=A6DNF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Prefab/Panel/GameRoomListController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/UI/Prefab/Panel/GameRoomListController.cs b/Assets/Scripts/UI/Prefab/Panel/GameRoomListController.cs index 0af421a0..92292c17 100644 --- a/Assets/Scripts/UI/Prefab/Panel/GameRoomListController.cs +++ b/Assets/Scripts/UI/Prefab/Panel/GameRoomListController.cs @@ -732,8 +732,8 @@ public class GameRoomListController : PFUIPanel t.transform.Find("Country").GetComponent().texture = UIManager.Instance.loginRegOptions.GetCountryImageByName(item.Country); t.transform.Find("Name").GetComponent().text = item.NickName; t.transform.Find("Timer").GetComponent().text = item.TotalTime; - t.transform.Find("DNF").gameObject.SetActive(item.IsDNF); - t.transform.Find("DNF_L").gameObject.SetActive(item.IsDNF); + t.transform.Find("DNF").gameObject.SetActive(item.IsDNF && item.UserId != App.CurrentUser.Id); + t.transform.Find("DNF_L").gameObject.SetActive(item.IsDNF && item.UserId == App.CurrentUser.Id); } } }