Browse Source

联盟答题答对0个不显示标签

zhaoyang 2 năm trước cách đây
mục cha
commit
20e8c0a4a0

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnsweringView.cs

@@ -349,7 +349,7 @@ namespace GFGGame
             RoleInfoManager.Instance.UpdateHeadWithLv(item.m_comHead, roleInfo.headId, roleInfo.headBorderId, roleInfo.roleLv);
             item.m_txtName.text = roleInfo.roleName;
             int roldRank = _memberIds.IndexOf(roleInfo.roleId);
-            item.m_c1.selectedIndex = roldRank < 3 ? roldRank : 3;
+            item.m_c1.selectedIndex = roldRank < 3 && _dataManager.ListAnsweringDatas[roleInfo.roleId] > 0 ? roldRank : 3;
             string content = "";
             for (int i = 0; i < chatData.Content.Length; i++)
             {