Fix constant server crash
This commit is contained in:
parent
897f74cb7b
commit
ade1f47dea
1 changed files with 2 additions and 0 deletions
|
@ -367,6 +367,8 @@ local function process_round(round)
|
||||||
pointed_thing = ray:next()
|
pointed_thing = ray:next()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not pointed_thing then return end
|
||||||
|
|
||||||
return process_hit(pointed_thing, round.spec, round.dir)
|
return process_hit(pointed_thing, round.spec, round.dir)
|
||||||
end
|
end
|
||||||
round.pos = p2
|
round.pos = p2
|
||||||
|
|
Loading…
Reference in a new issue