summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-12-23 16:54:21 -0500
committerShadowNinja <shadowninja@minetest.net>2013-12-23 16:54:21 -0500
commit8e2cb0121b4c86d85e2da82d89b44e9cb3b70dd3 (patch)
tree82765fa969e0c3a5d43eec2b746aee801208c28b
parent2df417feb75cf54fdf631d72baa9fa529dda14db (diff)
Fix mining drill digging in the wrong direction
-rw-r--r--technic/tools/mining_drill.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/tools/mining_drill.lua b/technic/tools/mining_drill.lua
index d7eb49c..320cc31 100644
--- a/technic/tools/mining_drill.lua
+++ b/technic/tools/mining_drill.lua
@@ -172,9 +172,9 @@ local function drill_dig_it(pos, player, drill_type, mode)
end
if dir==3 then -- z-
drill_dig_it0 (pos,player)
- pos.z=pos.z+1
+ pos.z=pos.z-1
drill_dig_it0 (pos,player)
- pos.z=pos.z+1
+ pos.z=pos.z-1
drill_dig_it0 (pos,player)
end
end