Fixed wave spawn crash

This commit is contained in:
Anuken
2018-10-11 10:01:59 -04:00
parent 99418e6b88
commit 6ee7dd56fe

View File

@@ -83,7 +83,7 @@ public class WaveSpawner{
int addGround = groundGroups - groundSpawns.size, addFly = flyGroups - flySpawns.size;
//add extra groups if the total exceeds it
if(!dynamicSpawn){
if(dynamicSpawn){
for(int i = 0; i < addGround; i++){
GroundSpawn spawn = new GroundSpawn();
findLocation(spawn);