diff --git a/mods/CORE/MapGen/src/MapGen/Layer.lua b/mods/CORE/MapGen/src/MapGen/Layer.lua index 075cfe5..f56b6a6 100644 --- a/mods/CORE/MapGen/src/MapGen/Layer.lua +++ b/mods/CORE/MapGen/src/MapGen/Layer.lua @@ -537,7 +537,7 @@ function Layer:initBiomesDiagram() ---Half the distance between the centers of two nearest biomes (i.e. the distance to the biome boundary) local distance2 = (pastClosestBiome.tempPoint - closestBiome.tempPoint)^2 + (pastClosestBiome.humidityPoint - closestBiome.humidityPoint) / 2 - weight = mathClamp(distance1 / distance2, 0, 1) + weight = 1 - mathClamp(distance1 / distance2, 0, 1) else weight = 1 end