mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-24 22:59:34 +07:00
Resolved #3274 - empty maps start with ocean tiles
This commit is contained in:
@ -33,8 +33,14 @@ class MapGenerator(val ruleset: Ruleset) {
|
||||
map.mapParameters = mapParameters
|
||||
map.mapParameters.seed = seed
|
||||
|
||||
if (mapType == MapType.empty)
|
||||
if (mapType == MapType.empty) {
|
||||
for (tile in map.values) {
|
||||
tile.baseTerrain = Constants.ocean
|
||||
tile.setTerrainTransients()
|
||||
}
|
||||
|
||||
return map
|
||||
}
|
||||
|
||||
seedRNG(seed)
|
||||
MapLandmassGenerator(randomness).generateLand(map,ruleset)
|
||||
|
Reference in New Issue
Block a user