From e4c376dc86e924e9457fd91b5b7b89bf5e19b92b Mon Sep 17 00:00:00 2001 From: grimsace Date: Mon, 23 Mar 2026 10:15:51 -0500 Subject: [PATCH] made turret spacing consistant --- fortifications.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fortifications.go b/fortifications.go index 261457c..fd7d13a 100644 --- a/fortifications.go +++ b/fortifications.go @@ -490,12 +490,7 @@ func buildNaturalTurrets(settings *Settings, samples []wallSample, gateSampleInd if settings == nil || len(samples) == 0 { return nil } - - scale := 1.0 - if outerCoverage > 0 { - scale = coverage / outerCoverage - } - stepPct := clamp(settings.TurretSpacing*scale, 0, 100) + stepPct := clamp(settings.TurretSpacing, 0, 100) step := int(math.Round((stepPct / 100.0) * float64(len(samples)))) if step < 1 { step = 1