summaryrefslogtreecommitdiff
path: root/hole.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-28 00:06:31 +0100
committerubq323 <ubq323@ubq323.website>2022-06-28 00:06:31 +0100
commit989a265c039dbd3aa73a3118657fa46942211e85 (patch)
tree9e70294d3a39dafd277933052fb48a5c45bd911f /hole.lua
parentc16e2ea2ca130185645701ac1801e27db6649488 (diff)
hole
Diffstat (limited to 'hole.lua')
-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