mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Revert "Resolved #12467 - Nat wonders land->water conversion no longer causes rivers on water tiles"
This reverts commit 914b9e2f03
.
This commit is contained in:
@ -140,6 +140,9 @@ class MapGenerator(val ruleset: Ruleset, private val coroutineScope: CoroutineSc
|
|||||||
runAndMeasure("assignContinents") {
|
runAndMeasure("assignContinents") {
|
||||||
map.assignContinents(TileMap.AssignContinentsMode.Assign)
|
map.assignContinents(TileMap.AssignContinentsMode.Assign)
|
||||||
}
|
}
|
||||||
|
runAndMeasure("RiverGenerator") {
|
||||||
|
RiverGenerator(map, randomness, ruleset).spawnRivers()
|
||||||
|
}
|
||||||
convertTerrains(map.values)
|
convertTerrains(map.values)
|
||||||
|
|
||||||
// Region based map generation - not used when generating maps in map editor
|
// Region based map generation - not used when generating maps in map editor
|
||||||
@ -167,9 +170,6 @@ class MapGenerator(val ruleset: Ruleset, private val coroutineScope: CoroutineSc
|
|||||||
spreadResources(map)
|
spreadResources(map)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
runAndMeasure("RiverGenerator") { // After nat wonders have a chance to change land to water
|
|
||||||
RiverGenerator(map, randomness, ruleset).spawnRivers()
|
|
||||||
}
|
|
||||||
runAndMeasure("spreadAncientRuins") {
|
runAndMeasure("spreadAncientRuins") {
|
||||||
spreadAncientRuins(map)
|
spreadAncientRuins(map)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user