Revert "Merge branch 'Lobby-System'"

This reverts commit f19e634ee9, reversing
changes made to 21c03f5b00.
This commit is contained in:
DerTyp187
2021-12-16 21:41:38 +01:00
parent f19e634ee9
commit 131d40dcda
55 changed files with 9 additions and 8377 deletions

View File

@@ -5,7 +5,6 @@ using Mirror;
public class Player : NetworkBehaviour
{
Lobby lobby;
public bool isAlive = true;
public Team team;
@@ -28,16 +27,15 @@ public class Player : NetworkBehaviour
private void Start()
{
lobby = GameObject.Find("LobbyManager").GetComponent<Lobby>();
/*GameManager = GameObject.Find("MatchController");
GameManager = GameObject.Find("MatchController");
gameMaster = GameManager.GetComponent<GameMaster>();
if (isServer)
{
health = defaultHp;
gameMaster.RegisterPlayer(GetComponent<Player>());
//respawnPos(gameMaster.RespawnRequest(this.gameObject, team.teamID));
}*/
}
}