Browse Source

【BUG】解决第多次进入场景增加单位连接断开的问题

johnclot69 1 year ago
parent
commit
1e1c213745
1 changed files with 0 additions and 3 deletions
  1. 0 3
      DotNet/Hotfix/Scenes/Game/Handler/C2G_BindPlayerHandler.cs

+ 0 - 3
DotNet/Hotfix/Scenes/Game/Handler/C2G_BindPlayerHandler.cs

@@ -95,9 +95,6 @@ namespace ET.Server
 
             if (player != null)
             {
-                // todo 顶号
-                MessageHelper.SendToClient(player, new R2C_Disconnect());
-                player.Session.Disconnect().Coroutine();
                 // 重新赋值session
                 player.Session = session;
             }