Legislators voted for flood reform