From 2bd039c0fe9d7efa71cd2b00e4439ad7b7f0c96c Mon Sep 17 00:00:00 2001 From: Maciej Kasatkin Date: Sat, 15 Sep 2012 21:49:16 +0200 Subject: [PATCH] clean code --- node_breaker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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