--------|    Variables    |--------


local SFX = {}

function SFX.Play(...)
	local args = {...}
	
	-- for compatibility, the sound is still played, just at zero volume
	if _L.PlayerSettings.GetSetting("SFX") == "Disabled" then
		args[4] = 0
	end
	
	return _L.Audio.Play(unpack(args))
end

return SFX
