Browse Source

Increase to 8 players for server build

master
Claire Peta 5 years ago
parent
commit
937cdbb3f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Assets/Scripts/UI/Lobby/LobbyUIController.cs

+ 1
- 1
Assets/Scripts/UI/Lobby/LobbyUIController.cs View File

@ -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

Loading…
Cancel
Save