mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
fixup
This commit is contained in:
parent
c82c83d008
commit
d03e333e35
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function worldeditadditions.spiral_square(pos1, pos2, target_node, interval, acc
|
||||||
pos_current = pos_current:add(direction)
|
pos_current = pos_current:add(direction)
|
||||||
side_length = side_length + 1
|
side_length = side_length + 1
|
||||||
|
|
||||||
print("DEBUG cpos", pos_current, "side_length", side_length, "side_length_max", side_length_max, "direction", direction)
|
-- print("DEBUG cpos", pos_current, "side_length", side_length, "side_length_max", side_length_max, "direction", direction)
|
||||||
|
|
||||||
if side_length >= side_length_max then
|
if side_length >= side_length_max then
|
||||||
sides_complete = sides_complete + 1
|
sides_complete = sides_complete + 1
|
||||||
|
|
Loading…
Reference in a new issue