[trivial] api.lua: Fix code-style
This commit is contained in:
parent
ade1f47dea
commit
b8b1c6d368
1 changed files with 3 additions and 3 deletions
|
@ -367,10 +367,10 @@ local function process_round(round)
|
||||||
pointed_thing = ray:next()
|
pointed_thing = ray:next()
|
||||||
end
|
end
|
||||||
|
|
||||||
if not pointed_thing then return end
|
if pointed_thing then
|
||||||
|
|
||||||
return process_hit(pointed_thing, round.spec, round.dir)
|
return process_hit(pointed_thing, round.spec, round.dir)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
round.pos = p2
|
round.pos = p2
|
||||||
minetest.after(shooter.config.rounds_update_time, function(...)
|
minetest.after(shooter.config.rounds_update_time, function(...)
|
||||||
process_round(...)
|
process_round(...)
|
||||||
|
|
Loading…
Reference in a new issue