mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 12:49:37 +07:00
Fixed #8509
This commit is contained in:
parent
3d013fc09c
commit
dbfbb08aaa
@ -476,7 +476,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
|
|||||||
//tar
|
//tar
|
||||||
if(floor == Blocks.darksand){
|
if(floor == Blocks.darksand){
|
||||||
if(Math.abs(0.5f - noise(x - 40, y, 2, 0.7, 80)) > 0.25f &&
|
if(Math.abs(0.5f - noise(x - 40, y, 2, 0.7, 80)) > 0.25f &&
|
||||||
Math.abs(0.5f - noise(x, y + sector.id*10, 1, 1, 60)) > 0.41f && !(roomseq.contains(r -> Mathf.within(x, y, r.x, r.y, 15)))){
|
Math.abs(0.5f - noise(x, y + sector.id*10, 1, 1, 60)) > 0.41f && !(roomseq.contains(r -> Mathf.within(x, y, r.x, r.y, 30)))){
|
||||||
floor = Blocks.tar;
|
floor = Blocks.tar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user