The Wyoming Legislature on Friday passed a bill banning gun-free zones in the state after the Senate voted to pass the bill.