Browse Source

【BUG】解决每个主播登录都进到一个房间的问题

johnclot69 2 years ago
parent
commit
6321ff203c
1 changed files with 0 additions and 8 deletions
  1. 0 8
      DotNet/Hotfix/Helper/MapHelper.cs

+ 0 - 8
DotNet/Hotfix/Helper/MapHelper.cs

@@ -144,14 +144,6 @@ namespace ET.Server
             if (prop != null)
             {
                 map = player.DomainScene().GetComponent<GameMapComponent>().Get(playerMapInfo.mapInstanceId);
-                if (map == null)
-                {
-                    Map[] list = player.DomainScene().GetComponent<GameMapComponent>().GetAll();
-                    if (list is { Length: > 0 })
-                    {
-                        map = list[0];
-                    }
-                }
             }
 
             if (map == null)