diff --git a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Biomegen.kt b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Biomegen.kt index 593036f7f..2705e07bb 100644 --- a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Biomegen.kt +++ b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Biomegen.kt @@ -20,7 +20,7 @@ class Biomegen(world: GameWorld, seed: Long, params: Any) : Gen(world, seed, par private val threadExecutor = TerrarumIngame.worldgenThreadExecutor - private val genSlices = max(threadExecutor.threadCount, world.width / 8) + private val genSlices = max(threadExecutor.threadCount, world.width / 9) private val YHEIGHT_MAGIC = 2800.0 / 3.0 private val YHEIGHT_DIVISOR = 2.0 / 7.0 diff --git a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Oregen.kt b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Oregen.kt index ccf382f1f..02716b3bb 100644 --- a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Oregen.kt +++ b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Oregen.kt @@ -25,7 +25,7 @@ import kotlin.math.sqrt class Oregen(world: GameWorld, private val caveAttenuateBiasScaled: ModuleScaleDomain, seed: Long, private val ores: List) : Gen(world, seed) { private val threadExecutor = TerrarumIngame.worldgenThreadExecutor - private val genSlices = max(threadExecutor.threadCount, world.width / 8) + private val genSlices = max(threadExecutor.threadCount, world.width / 9) override fun getDone() { threadExecutor.renew() diff --git a/src/net/torvald/terrarum/modulebasegame/worldgenerator/OregenAutotiling.kt b/src/net/torvald/terrarum/modulebasegame/worldgenerator/OregenAutotiling.kt index 951415e7c..9ec41aab5 100644 --- a/src/net/torvald/terrarum/modulebasegame/worldgenerator/OregenAutotiling.kt +++ b/src/net/torvald/terrarum/modulebasegame/worldgenerator/OregenAutotiling.kt @@ -20,7 +20,7 @@ import kotlin.math.max class OregenAutotiling(world: GameWorld, seed: Long, val tilingModes: HashMap) : Gen(world, seed) { private val threadExecutor = TerrarumIngame.worldgenThreadExecutor - private val genSlices = max(threadExecutor.threadCount, world.width / 8) + private val genSlices = max(threadExecutor.threadCount, world.width / 9) override fun getDone() { threadExecutor.renew() diff --git a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Terragen.kt b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Terragen.kt index b4624dfba..cdad6b9f3 100644 --- a/src/net/torvald/terrarum/modulebasegame/worldgenerator/Terragen.kt +++ b/src/net/torvald/terrarum/modulebasegame/worldgenerator/Terragen.kt @@ -24,7 +24,7 @@ class Terragen(world: GameWorld, val highlandLowlandSelectCache: ModuleCache, se private val threadExecutor = TerrarumIngame.worldgenThreadExecutor - private val genSlices = max(threadExecutor.threadCount, world.width / 8) + private val genSlices = max(threadExecutor.threadCount, world.width / 9) private val dirtStoneDitherSize = 3 // actual dither size will be double of this value