mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
fixed baseTerrain can differ from getBaseTerrain (#3710)
This commit is contained in:
parent
8472715509
commit
25ef92f3eb
@ -192,6 +192,7 @@ class MapGenerator(val ruleset: Ruleset) {
|
||||
elevation <= 0.7 -> tile.baseTerrain = Constants.hill
|
||||
elevation <= 1.0 -> tile.baseTerrain = Constants.mountain
|
||||
}
|
||||
tile.setTerrainTransients()
|
||||
}
|
||||
}
|
||||
|
||||
@ -230,6 +231,7 @@ class MapGenerator(val ruleset: Ruleset) {
|
||||
Constants.lakes
|
||||
}
|
||||
}
|
||||
tile.setTerrainTransients()
|
||||
continue
|
||||
}
|
||||
|
||||
@ -246,6 +248,7 @@ class MapGenerator(val ruleset: Ruleset) {
|
||||
tile.baseTerrain = ruleset.terrains.keys.first()
|
||||
println("Temperature: $temperature, humidity: $humidity")
|
||||
}
|
||||
tile.setTerrainTransients()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user