Table.removeObject=function(B,a)local R=Table.indexOf(B,a)if R then table.remove(B,R)end end

Table.removeObject = function (tbl, obj)
	local index = Table.indexOf(tbl, obj)
	if index then
		table.remove(tbl, index)
	end
end
