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
1 changed files with 1 additions and 1 deletions

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)