Browse Source

工作室查阅建档

zhaoyang 2 years ago
parent
commit
f40c00e79d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

@@ -167,7 +167,7 @@ namespace GFGGame
         public int GetFilingRewardStateByIndex(int chapterId, int index)
         {
             StudioData studioData = GetStudioDataById(chapterId);
-            return studioData.RewardsStatus[index];
+            return studioData.RewardsStatus.Count > index ? studioData.RewardsStatus[index] : 0;
 
         }