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