This commit is contained in:
Quaternions 2023-10-02 18:38:30 -07:00
parent 5dc69db885
commit a57c228580

View File

@ -124,7 +124,7 @@ fn load_dom<R:Read+Seek>(input:&mut R)->AResult<rbx_dom_weak::WeakDom>{
b"lox "=>return rbx_xml::from_reader(input,rbx_xml::DecodeOptions::default()).map_err(anyhow::Error::msg), b"lox "=>return rbx_xml::from_reader(input,rbx_xml::DecodeOptions::default()).map_err(anyhow::Error::msg),
other=>Err(anyhow::Error::msg(format!("Unknown Roblox file type {:?}",other))), other=>Err(anyhow::Error::msg(format!("Unknown Roblox file type {:?}",other))),
} }
} },
_=>Err(anyhow::Error::msg("unsupported file type")), _=>Err(anyhow::Error::msg("unsupported file type")),
} }
}else{ }else{