Orange County commissioners voted Tuesday to comply with a new state law that would prohibit public overnight camping on county land.