More luacheck tidying

This commit is contained in:
FaceDeer
2023-09-29 20:06:34 -06:00
parent f537af33bc
commit 058f13f6a4
39 changed files with 43 additions and 81 deletions

View File

@ -74,7 +74,6 @@ local get_ambience = function(player, name)
-- loop through sets in order and choose first that meets its conditions
for _, set in ipairs(registered_sets) do
if random() < set.frequency then
local check_passed
local sound_check = set.sound_check
local nodes = set.nodes
if sound_check or nodes then