Added sector-specific spawns

This commit is contained in:
Anuken
2018-07-19 09:58:19 -04:00
parent 4d88a8206a
commit 091f591ffb
2 changed files with 9 additions and 3 deletions
@@ -168,8 +168,10 @@ public class WaveSpawner{
groundSpawns.clear();
quadrants = new Bits(quadWidth() * quadHeight());
if(groups == null){
if(world.getSector() == null){
groups = Waves.getSpawns();
}else{
groups = world.getSector().spawns;
}
}