mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 22:22:51 +07:00
Resolved #9054 - Archipelago creates water again
This commit is contained in:
parent
f32bf4a7a4
commit
6000232eac
@ -98,6 +98,7 @@ class MapLandmassGenerator(val ruleset: Ruleset, val randomness: MapGenerationRa
|
||||
|
||||
private fun createArchipelago(tileMap: TileMap) {
|
||||
val elevationSeed = randomness.RNG.nextInt().toDouble()
|
||||
waterThreshold += 0.25
|
||||
for (tile in tileMap.values) {
|
||||
val elevation = getRidgedPerlinNoise(tile, elevationSeed)
|
||||
spawnLandOrWater(tile, elevation)
|
||||
|
Loading…
Reference in New Issue
Block a user