Fix #14737: Don't scale custom town and industry counts by land area (#14738)

This commit is contained in:
Tyler Trahan
2025-10-27 14:18:31 -04:00
committed by dP
parent 526b8708fc
commit 5800870c3f
2 changed files with 3 additions and 3 deletions

View File

@@ -2733,7 +2733,7 @@ bool GenerateTowns(TownLayout layout, std::optional<uint> number)
if (number.has_value()) {
total = number.value();
} else if (_settings_game.difficulty.number_towns == static_cast<uint>(CUSTOM_TOWN_NUMBER_DIFFICULTY)) {
total = Map::ScaleByLandProportion(GetDefaultTownsForMapSize());
total = GetDefaultTownsForMapSize();
} else {
total = Map::ScaleByLandProportion(GetDefaultTownsForMapSize() + (Random() & 7));
}