1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-12 19:20:28 +00:00

Update cubedig.lua

This commit is contained in:
LDDestroier 2019-04-24 22:46:26 -04:00 committed by GitHub
parent d4ad8243d0
commit e2c38a2bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ elseif dy < 1 then
move( "down" )
end
for y = (math.abs(dy) > 1 and 2 or 1), math.abs(dy) do
if y % 3 == 1 then
if (y % 3 == 2) then
for x = 1, dx do
for z = 1, dz do
UDdig(dy / math.abs(dy), y * (dy / math.abs(dy)), dy)