1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-11 18:50:29 +00:00

Update cubedig.lua

This commit is contained in:
LDDestroier 2019-04-24 23:17:07 -04:00 committed by GitHub
parent 34236d2a41
commit 99dc0cbc03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,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 == 2) or (math.abs(dy) - y == 1) then
if (y % 3 == 2) or (math.abs(dy) - y == 1) or (math.abs(dy) == 1) then
for x = 1, dx do
for z = 1, dz do
UDdig(dy / math.abs(dy), y * (dy / math.abs(dy)), dy, false)