浏览代码

优化图片不显示问题

hexiaojie 11 月之前
父节点
当前提交
29a4757c52
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      GameClient/Assets/Game/HotUpdate/ServerProxy/MatchingCompetitionSproxy.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/ServerProxy/MatchingCompetitionSproxy.cs

@@ -212,6 +212,11 @@ namespace GFGGame
 
                     matchingPhotoWorksData.JudgingInfo = judgingRoundRoleInfo;
                     matchingPhotoWorksData.RoleId = judgingRoundRoleInfo.RoleId;
+                    if (matchingPhotoWorksData.IsUp)
+                    {
+                        matchingPhotoWorksData.Ntexture = null;
+                    }
+                    
                     MatchingCompetitionDataManager.Instance._currentRankList[index] = matchingPhotoWorksData;
                 }
             }