diff --git a/World/AstralBiome.cs b/World/AstralBiome.cs index c86ba6d4f1..540370ae57 100644 --- a/World/AstralBiome.cs +++ b/World/AstralBiome.cs @@ -129,10 +129,10 @@ namespace CalamityMod.World int xLimit = Main.maxTilesX / 2; //limit the astral biome so it cant place past the dungeon - int x = Abyss.AtLeftSideOfWorld ? rand.Next(WorldGen.dungeonX + 150, xLimit) : rand.Next(xLimit, WorldGen.dungeonX - 150); + int x = Abyss.AtLeftSideOfWorld ? rand.Next(650, xLimit) : rand.Next(xLimit, 650); while ((float)x > (float)Main.spawnTileX - worldEdgeMargin && (float)x < (float)Main.spawnTileX + worldEdgeMargin) { - x = Abyss.AtLeftSideOfWorld ? rand.Next(WorldGen.dungeonX + 150, xLimit) : rand.Next(xLimit, WorldGen.dungeonX - 150); + x = Abyss.AtLeftSideOfWorld ? rand.Next(650, xLimit) : rand.Next(xLimit, Main.maxTilesX - 650); } //world surface = 920 large 740 medium 560 small int y = (int)(Main.worldSurface * 0.5); //Large = 522, Medium = 444, Small = 336