guodong пре 3 година
родитељ
комит
313cfbc0ee
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      GameClient/Assets/Game/HotUpdate/Controller/ErrorCodeController.cs

+ 4 - 1
GameClient/Assets/Game/HotUpdate/Controller/ErrorCodeController.cs

@@ -30,7 +30,10 @@ namespace GFGGame
                 case ET.ErrorCode.Err_LoginCountFull:
                     {
                         AlertSystem.Show("游戏已爆满,请稍后再试!")
-                              .SetLeftButton(true, "知道了");
+                              .SetLeftButton(true, "知道了", (data) =>
+                              {
+                                  Application.Quit();
+                              });
                     }
                     break;
                 case ET.ErrorCode.Err_ServerMaintain: