From 17b8f8a555d8dcf51b57314994a08b0eed206e15 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 29 May 2021 23:20:34 +0100 Subject: [PATCH] erode/snowballs: correct comment --- worldeditadditions/lib/erode/erode.lua | 2 +- worldeditadditions/lib/erode/snowballs.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/worldeditadditions/lib/erode/erode.lua b/worldeditadditions/lib/erode/erode.lua index f35090d..2eb54eb 100644 --- a/worldeditadditions/lib/erode/erode.lua +++ b/worldeditadditions/lib/erode/erode.lua @@ -28,7 +28,7 @@ function worldeditadditions.erode.run(pos1, pos2, algorithm, params) if not success then return success, msg end else -- FUTURE: Add a new "river" algorithm here that: - -- * Fills in blocks that are srrounded on more than 3 horizontal sides + -- * Fills in blocks that are surrounded on more than 3 horizontal sides -- * Destroys blocks that have no horizontal neighbours -- A bit like cellular automata actually. return false, "Error: Unknown algorithm '"..algorithm.."'. Currently implemented algorithms: snowballs (2d; hydraulic-like). Ideas for algorithms to implement are welcome!" diff --git a/worldeditadditions/lib/erode/snowballs.lua b/worldeditadditions/lib/erode/snowballs.lua index e582d2b..10c70b3 100644 --- a/worldeditadditions/lib/erode/snowballs.lua +++ b/worldeditadditions/lib/erode/snowballs.lua @@ -86,7 +86,7 @@ function worldeditadditions.erode.snowballs(heightmap_initial, heightmap, height maxdiff = 0.4, count = 25000 } - -- Apply the default settings + -- Apply the custom settings worldeditadditions.table_apply(params_custom, params) -- print("[erode/snowballs] params: ")