As I recall, Remarque wrote in All Quiet on the Western Front about how they could pick off doughboys who were smoking cigarettes at night.
Good observation and memory. It’s happened throughout modern history.