Skip to content

Commit

Permalink
Modifies mob spawning to correspond to new allowable game area
Browse files Browse the repository at this point in the history
  • Loading branch information
bojyyy committed Sep 11, 2023
1 parent eaa840d commit e075616
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private void spawnProjectile(Vector2 position, short targetLayer, int space, in


private void spawnXenoGrunts() {
int[] pickedLanes = new Random().ints(0, 8)
int[] pickedLanes = new Random().ints(1, 7)
.distinct().limit(5).toArray();
for (int i = 0; i < NUM_GRUNTS; i++) {
GridPoint2 randomPos = new GridPoint2(19, pickedLanes[i]);
Expand Down

0 comments on commit e075616

Please sign in to comment.