|
@ -88,7 +88,7 @@ public class LobbyUIController : MonoBehaviour |
|
|
#if UNITY_EDITOR
|
|
|
#if UNITY_EDITOR
|
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(SceneToStart); |
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(SceneToStart); |
|
|
#else
|
|
|
#else
|
|
|
if (Clients.ConnectedClients.Count >= 2 && Clients.ConnectedClients.Count <= 4){ |
|
|
|
|
|
|
|
|
if (Clients.ConnectedClients.Count >= 2 && Clients.ConnectedClients.Count <= 8){ |
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(SceneToStart); |
|
|
UnityEngine.SceneManagement.SceneManager.LoadScene(SceneToStart); |
|
|
} |
|
|
} |
|
|
#endif
|
|
|
#endif
|
|
|