diff --git a/shooter/api.lua b/shooter/api.lua index a76c5ab..3f785a9 100644 --- a/shooter/api.lua +++ b/shooter/api.lua @@ -367,6 +367,8 @@ local function process_round(round) pointed_thing = ray:next() end + if not pointed_thing then return end + return process_hit(pointed_thing, round.spec, round.dir) end round.pos = p2