diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-05-18 16:11:06 +0200 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-05-18 16:11:06 +0200 |
commit | ecb53e9717f75c21d849adcc64d58b84a9cde974 (patch) | |
tree | 2e9062090dcd2655138415343630c2fab294773a | |
parent | b204090accc92bbb9e9904ff7622e8dcc3adc276 (diff) |
Mining lasers: don't dig the node the player is in.
-rw-r--r-- | technic/tools/mining_lasers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/tools/mining_lasers.lua b/technic/tools/mining_lasers.lua index e06c7bf..03286f4 100644 --- a/technic/tools/mining_lasers.lua +++ b/technic/tools/mining_lasers.lua @@ -107,9 +107,9 @@ local function laser_nodes(pos, dir, player, range) local t_dir = get_used_dir(dir) local dir_typ = t_dir[1] if t_dir[3] == "+" then - f_tab = {0, range} + f_tab = {1, range} else - f_tab = {-range,0} + f_tab = {-range, -1} end local d_ch = t_dir[2] if dir_typ == "x" then |