Fix constant server crash

This commit is contained in:
LoneWolfHT 2020-05-31 09:40:20 -07:00 committed by GitHub
parent 897f74cb7b
commit ade1f47dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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