From c5d1e25b7b0d83a4752fb01d9313b4ac476b2afd Mon Sep 17 00:00:00 2001 From: Xertis <118364459+Xertis@users.noreply.github.com> Date: Wed, 19 Feb 2025 09:56:36 +0300 Subject: [PATCH] correction order --- res/content/base/generators/demo.files/script.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/content/base/generators/demo.files/script.lua b/res/content/base/generators/demo.files/script.lua index 978d20be..7a3282c3 100644 --- a/res/content/base/generators/demo.files/script.lua +++ b/res/content/base/generators/demo.files/script.lua @@ -61,9 +61,9 @@ function place_structures_wide(x, z, w, d, chunk_height) sz = ez dir_inertia = dir_inertia * 0.8 + - (rands[8] - 0.5) * math.pow(rands[10], 2) * 8 + (rands[8] - 0.5) * math.pow(rands[9], 2) * 8 elevation = elevation * 0.9 + - (rands[9] - 0.4) * (1.0-math.pow(rands[11], 4)) * 8 + (rands[10] - 0.4) * (1.0-math.pow(rands[11], 4)) * 8 dir = dir + dir_inertia end end