[trivial] api.lua: Fix code-style

This commit is contained in:
ANAND 2020-05-31 22:22:21 +05:30
parent ade1f47dea
commit b8b1c6d368
No known key found for this signature in database
GPG key ID: 3AD8A3C4A51AAB97

View file

@ -367,9 +367,9 @@ 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)
if pointed_thing then
return process_hit(pointed_thing, round.spec, round.dir)
end
end
round.pos = p2
minetest.after(shooter.config.rounds_update_time, function(...)