This commit is contained in:
Anuken
2026-01-05 21:44:07 -05:00
parent 10a432d244
commit b5392c1cc1

View File

@@ -472,6 +472,10 @@ public class Control implements ApplicationListener, Loadable{
//set spawn for sector damage to use //set spawn for sector damage to use
Tile spawn = world.tile(spawnPos); Tile spawn = world.tile(spawnPos);
if(spawn == null){
playNewSector(origin, sector, reloader);
return;
}
spawn.setBlock(sector.planet.defaultCore, state.rules.defaultTeam); spawn.setBlock(sector.planet.defaultCore, state.rules.defaultTeam);
//apply damage to simulate the sector being lost //apply damage to simulate the sector being lost