diff options
author | Maciej Kasatkin <mk@realbadangel.pl> | 2012-09-15 21:49:16 +0200 |
---|---|---|
committer | Maciej Kasatkin <mk@realbadangel.pl> | 2012-09-15 21:49:16 +0200 |
commit | 2bd039c0fe9d7efa71cd2b00e4439ad7b7f0c96c (patch) | |
tree | ac7951f57f1d5d42fdc920343f82fbcc364afa77 /node_breaker.lua | |
parent | 80b5f39b63a68ca61113c4266fa56e3368763a33 (diff) |
clean code
Diffstat (limited to 'node_breaker.lua')
-rw-r--r-- | node_breaker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_breaker.lua b/node_breaker.lua index 4f110ee..aab29e1 100644 --- a/node_breaker.lua +++ b/node_breaker.lua @@ -46,7 +46,7 @@ function break_node (pos,n_param) pos2.z=pos.z --param2 3=x+ 1=x- 2=z+ 0=z- - if n_param==3 then print ("sru") pos2.x=pos2.x+1 pos1.x=pos1.x-1 end + if n_param==3 then pos2.x=pos2.x+1 pos1.x=pos1.x-1 end if n_param==2 then pos2.z=pos2.z+1 pos1.z=pos1.z-1 end if n_param==1 then pos2.x=pos2.x-1 pos1.x=pos1.x+1 end if n_param==0 then pos2.z=pos2.z-1 pos1.x=pos1.z+1 end |