Browse Source

排名提示

zhaoyang 2 years ago
parent
commit
7b6469754d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs

+ 5 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs

@@ -228,7 +228,7 @@ namespace GFGGame
 
                     return true;
                 }
-                else
+                else if (response.Error == ErrorCode.ERR_ArenaFightFail)
                 {
                     //更新新数据
                     ArenaDataManager.Instance.Targets.Clear();
@@ -246,6 +246,10 @@ namespace GFGGame
                     PromptController.Instance.ShowFloatTextPrompt("对方排名已发生变化");
                     return false;
                 }
+                else
+                {
+                    ErrorCodeController.Handler(response.Error);
+                }
 
             }
             return false;