heros can use all lanes now
This commit is contained in:
parent
dce0722766
commit
0c9b53280b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class HeroSpawner : MonoBehaviour
|
|||
int randomY;
|
||||
do
|
||||
{
|
||||
randomY = Random.Range(0, numberOfYPositions - 1);
|
||||
randomY = Random.Range(0, numberOfYPositions);
|
||||
} while(spawnedPositions[randomY]);
|
||||
spawnedPositions[randomY] = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue