ATLANTIC CITY, N.J. (AP) — Atlantic City leaders have voted to ban smoking on the gambling floor of all casinos.

The City Council voted unanimously Wednesday to end the last major loophole in a statewide ban on smoking in public buildings. Gambling halls had previously been exempted. The ban takes effect Oct. 15.

Patrons could still light up in unstaffed smoking lounges away from the table games and slot machines.