mirror of
https://github.com/mt-mods/xcompat.git
synced 2025-01-20 15:20:28 +01:00
drop sound_api support as not known to be used
This commit is contained in:
parent
7dfc17139f
commit
d3ddfb09b1
3
init.lua
3
init.lua
@ -5,9 +5,6 @@ xcompat = {
|
|||||||
materials = dofile(modpath .. "/src/materials.lua"),
|
materials = dofile(modpath .. "/src/materials.lua"),
|
||||||
}
|
}
|
||||||
|
|
||||||
--this exists for legacy compat reasons
|
|
||||||
sound_api = xcompat.sounds -- luacheck: ignore
|
|
||||||
|
|
||||||
local function validate_sound(key)
|
local function validate_sound(key)
|
||||||
if key and xcompat.sounds[key] then
|
if key and xcompat.sounds[key] then
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user