소스 검색

优化图片不显示问题

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;
                 }
             }