1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-10-31 15:16:19 +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" ) move( "down" )
end end
for y = (math.abs(dy) > 1 and 2 or 1), math.abs(dy) do 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 x = 1, dx do
for z = 1, dz do for z = 1, dz do
UDdig(dy / math.abs(dy), y * (dy / math.abs(dy)), dy, false) UDdig(dy / math.abs(dy), y * (dy / math.abs(dy)), dy, false)