From b1c54e7f3f2eed06c6a77eddaf41c0bffd3d85b3 Mon Sep 17 00:00:00 2001
From: YangHua <1475658476@qq.com>
Date: Fri, 17 Nov 2023 15:05:30 +0800
Subject: [PATCH] 1

---
 Assets/Zion/Scripts/Adam/GameManager.cs | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/Assets/Zion/Scripts/Adam/GameManager.cs b/Assets/Zion/Scripts/Adam/GameManager.cs
index d5a97445..e5fe245d 100644
--- a/Assets/Zion/Scripts/Adam/GameManager.cs
+++ b/Assets/Zion/Scripts/Adam/GameManager.cs
@@ -69,14 +69,6 @@ public class GameManager : MonoBehaviour
                     spt.gameObject.transform.position = spawnPos.position;
                     spt.gameObject.transform.eulerAngles = spawnPos.eulerAngles;
                     spt.SetPlayerInfo(ulong.Parse(data[1]), data[2], ulong.Parse(data[3]), false);
-                    if (UIBootstrap.Instance.GetRoleByIDPracticeId(data[3]) == "0")
-                    {
-                        spt.GetComponent<Camera>().cullingMask = ~(1 << 11);
-                    }
-                    else
-                    {
-                        spt.GetComponent<Camera>().cullingMask = ~(1 << 12);
-                    }
                 }
                 break;
             case "offline":
@@ -100,14 +92,6 @@ public class GameManager : MonoBehaviour
                 spt.SetPlayerInfo(ulong.Parse(userInfo[0]), userInfo[1], ulong.Parse(userInfo[2]), false);
                 spt.transform.position = new Vector3(spawnPos.position.x + index * 0.5f, spawnPos.position.y, spawnPos.position.z + index * 0.5f);
                 spt.transform.eulerAngles = spawnPos.eulerAngles;
-                if (UIBootstrap.Instance.GetRoleByIDPracticeId(userInfo[2]) == "0")
-                {
-                    spt.GetComponent<Camera>().cullingMask = ~(1 << 11);
-                }
-                else
-                {
-                    spt.GetComponent<Camera>().cullingMask = ~(1 << 12);
-                }
                 userIds.Add(ulong.Parse(userInfo[0]));
             }
         }