Proposed change in building code ruled defeated