fixed spawn lookat

This commit is contained in:
MrGadget1024 2023-01-26 11:15:54 -05:00
parent a2ec18a06c
commit 3a9eac8e04

View File

@ -186,7 +186,7 @@ public override void OnServerAddPlayer(NetworkConnectionToClient conn)
else else
player = Instantiate(playerPrefab); player = Instantiate(playerPrefab);
player.transform.LookAt(new Vector3(0f, 2f, 0f)); player.transform.LookAt(new Vector3(0f, 1f, 0f));
PlayerName playerName = player.GetComponent<PlayerName>(); PlayerName playerName = player.GetComponent<PlayerName>();
if (authData.isBot) if (authData.isBot)