Before the change, it was only illegal to discharge a BB gun or similar toy guns in the city requiring officers to catch people in the act.