diff --git a/core/src/io/anuke/mindustry/core/World.java b/core/src/io/anuke/mindustry/core/World.java index e337a94d1f..50469edacf 100644 --- a/core/src/io/anuke/mindustry/core/World.java +++ b/core/src/io/anuke/mindustry/core/World.java @@ -243,7 +243,7 @@ public class World extends Module{ EntityQuery.resizeTree(0, 0, width * tilesize, height * tilesize); try{ - generator.loadTileData(tiles, MapIO.readTileData(map, true), map.meta.hasOreGen(), 0); + generator.loadTileData(tiles, MapIO.readTileData(map, true), map.meta.hasOreGen(), Mathf.random(99999)); } catch(Exception e){ Log.err(e); if(!headless){ @@ -257,6 +257,8 @@ public class World extends Module{ endMapLoad(); + invalidMap = false; + if(!headless){ if(state.teams.get(players[0].getTeam()).cores.size == 0){ ui.showError("$text.map.nospawn");