mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 14:04:06 +02:00
fixup
This commit is contained in:
parent
c82c83d008
commit
d03e333e35
@ -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 New Issue
Block a user