From 786b5a9cf36e3b4b09ce03581e06b3d11911bafa Mon Sep 17 00:00:00 2001 From: Tensuko Date: Fri, 18 Oct 2024 14:33:58 +0200 Subject: [PATCH] Update Field.lua --- scripts/courseGenerator/Field.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/courseGenerator/Field.lua b/scripts/courseGenerator/Field.lua index 3b9902ca5..1d3a89022 100644 --- a/scripts/courseGenerator/Field.lua +++ b/scripts/courseGenerator/Field.lua @@ -75,7 +75,7 @@ end --- Smooth out zigzags in the boundary. Zigzags are created when the FieldScanner is running at high resolution --- bigger than the game field pixel size function Field:_smoothBoundary() - CourseGenerator.SplineHelper.smooth(self:getBoundary(), 2, 1, #self:getBoundary(), math.rad(5), math.rad(45)) + CourseGenerator.SplineHelper.smooth(self:getBoundary(), 2, 1, #self:getBoundary(), math.rad(10), math.rad(55)) self:getBoundary():ensureMinimumEdgeLength(CourseGenerator.cMaxEdgeLength, math.rad(30)) end