Tasks with zero lag time

I have two tasks that should follow each other with no time in between. When I turn on autoleveling, sometimes the tasks get separated. I see that I can set a minimum lag time, but there’s no way to set a maximum. Is there a way to force tasks to follow one another with no lag time? (They require different resources; otherwise, I’d just group them into a single task.)