You have to eat. If you're in a strange city with limited transportation options a fast food place seems pretty reasonable. I'd have probably taken the food to go, but realistically you can eat in ~15 minutes and depending on the route back to where you're staying you might be seen by fewer people.