From 989a265c039dbd3aa73a3118657fa46942211e85 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 28 Jun 2022 00:06:31 +0100 Subject: hole --- hole.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3