|
@ -166,7 +166,7 @@ public class GameManager : MonoBehaviour |
|
|
|
|
|
|
|
|
foreach (ClientData client in ClientList) |
|
|
foreach (ClientData client in ClientList) |
|
|
{ |
|
|
{ |
|
|
Debug.Log("spawnIndex = " + spawnIndex); |
|
|
|
|
|
|
|
|
//Debug.Log("spawnIndex = " + spawnIndex);
|
|
|
Character newChar = Instantiate(characterPrefab); |
|
|
Character newChar = Instantiate(characterPrefab); |
|
|
//Block startingBlock = SpawnBlocks[(spawnIndex++ % ClientList.ConnectedClients.Count)];
|
|
|
//Block startingBlock = SpawnBlocks[(spawnIndex++ % ClientList.ConnectedClients.Count)];
|
|
|
Block startingBlock = SpawnBlocks[spawnIndex++]; |
|
|
Block startingBlock = SpawnBlocks[spawnIndex++]; |
|
|