set astro to active
This commit is contained in:
@ -86,8 +86,10 @@ public class SteamLobbyWithPlayer : MonoBehaviour
|
||||
foreach (var user in inLobby.Values) Destroy(user);
|
||||
inLobby.Clear();
|
||||
|
||||
GameObject player = Instantiate(playerPrefab, Vector3.zero, Quaternion.identity);
|
||||
|
||||
GameObject player = Instantiate(playerPrefab);
|
||||
if(player == null)
|
||||
Debug.Log("Player is null");
|
||||
player.SetActive(true);
|
||||
inLobby.Add(SteamClient.SteamId, player);
|
||||
|
||||
foreach (var friend in CurrentLobby.Members)
|
||||
|
Reference in New Issue
Block a user