Ver Fonte

优化图片不显示问题

hexiaojie há 11 meses atrás
pai
commit
29a4757c52

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