cleaning up some stuff with luacheck.

This commit is contained in:
FaceDeer
2023-09-29 16:09:25 -06:00
parent c9dedef095
commit f537af33bc
88 changed files with 1695 additions and 1644 deletions

View File

@ -7,13 +7,13 @@ looped_node_sound = {}
-- cycle_time =,
-- gain_per_node =,
-- max_gain =,
-- max_hear_distance =,
-- max_hear_distance =,
--})
looped_node_sound.register = function(def)
local handles = {}
local timer = 0
-- Parameters
local radius = def.radius or 8 -- node search radius around player
local cycle = def.cycle_time or 3 -- Cycle time for sound updates