summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hole.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/hole.lua b/hole.lua
index fa7b150..53925e7 100644
--- a/hole.lua
+++ b/hole.lua
@@ -31,8 +31,9 @@ while true do
for _,v in ipairs(targets) do
if v.z <= 7 and v.z >= -8
and v.x <= 7 and v.x >= -8
- then
+ then
local yaw,pitch = yaw_pitch(v.x,v.y,v.z)
+ print(v.x,v.y,v.z,yaw,pitch,v.name)
laser.fire(yaw,pitch,4)
end
end