From a56b87458cd32bcea06e3fcc8a2d25e295745f10 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 21 一月 2019 21:34:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Dungeon/DungeonRankBehaviour.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/System/Dungeon/DungeonRankBehaviour.cs b/System/Dungeon/DungeonRankBehaviour.cs
index 7194a65..e40a51b 100644
--- a/System/Dungeon/DungeonRankBehaviour.cs
+++ b/System/Dungeon/DungeonRankBehaviour.cs
@@ -40,10 +40,11 @@
             {
                 case 31170:
                 case DemonJarModel.DEMONJAR_MAPID:
+                case JadeDynastyBossModel.JADEDYNASTY_MAP:
                     {
+                        int i = 0;
                         if (model.mission.hurtInfo != null && model.mission.hurtInfo.Length > 0)
                         {
-                            int i = 0;
                             for (i = 0; i < model.mission.hurtInfo.Length; i++)
                             {
                                 var rank = model.mission.hurtInfo[i].rank;
@@ -61,12 +62,12 @@
                                     SetMineInfo(rank, model.mission.hurtInfo[i].totalHurt);
                                 }
                             }
-                            while (i < playerNameTexts.Count)
-                            {
-                                playerNameTexts[i].text = string.Empty;
-                                valueTexts[i].text = string.Empty;
-                                i++;
-                            }
+                        }
+                        while (i < playerNameTexts.Count)
+                        {
+                            playerNameTexts[i].text = string.Empty;
+                            valueTexts[i].text = string.Empty;
+                            i++;
                         }
                     }
                     break;

--
Gitblit v1.8.0