diff --git a/.idea/.idea.station_obscurum_temp/.idea/workspace.xml b/.idea/.idea.station_obscurum_temp/.idea/workspace.xml index 6d6f6ab..d395937 100644 --- a/.idea/.idea.station_obscurum_temp/.idea/workspace.xml +++ b/.idea/.idea.station_obscurum_temp/.idea/workspace.xml @@ -9,12 +9,7 @@ - - - - - - + diff --git a/Assets/Scripts/Steam/SteamLobbyWithPlayer.cs b/Assets/Scripts/Steam/SteamLobbyWithPlayer.cs index c876f72..899a1eb 100644 --- a/Assets/Scripts/Steam/SteamLobbyWithPlayer.cs +++ b/Assets/Scripts/Steam/SteamLobbyWithPlayer.cs @@ -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)