If I have enough cash on me to tip in cash, I usually will tip in cash, even if I pay with a card. I’m not sure if it still makes a difference (seems like a lot of places have cracked down on claiming sheets) but if it means a server can keep more of their tip, I prefer that.