drop sound_api global legacy support as not known to be used (#2)

* drop sound_api support as not known to be used

* update .luacheckrc and move some globals over to read

* move one global back in .luacheckrc
This commit is contained in:
wsor4035
2024-02-25 12:03:21 -05:00
committed by GitHub
parent 7dfc17139f
commit 1860fa44b6
2 changed files with 2 additions and 7 deletions

View File

@@ -5,9 +5,6 @@ xcompat = {
materials = dofile(modpath .. "/src/materials.lua"),
}
--this exists for legacy compat reasons
sound_api = xcompat.sounds -- luacheck: ignore
local function validate_sound(key)
if key and xcompat.sounds[key] then
return true