Attempt to index boolean with 'StopOthers'

local function ControlTrack(name,config)
	local Track = TableAllTracks[name]

	if Track and Track~=CurrentPlayingTrack then
		if not config then
			config = {}
		end
		local StopOthers = config.StopOthers 
	end
end

I don’t send the config ever

where have I gone wrong

nevermind I was calling the function on some lines with true for the second argument

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.