Update to stable rbx-dom libraries

This commit is contained in:
Lucien Greathouse
2021-06-29 01:20:09 -04:00
parent a3d8e50f26
commit 672d207961
36 changed files with 129 additions and 122 deletions

View File

@@ -13,7 +13,7 @@ pub fn snapshot_rbxm(
path: &Path,
instance_name: &str,
) -> SnapshotInstanceResult {
let temp_tree = rbx_binary::from_reader_default(vfs.read(path)?.as_slice())
let temp_tree = rbx_binary::from_reader(vfs.read(path)?.as_slice())
.with_context(|| format!("Malformed rbxm file: {}", path.display()))?;
let root_instance = temp_tree.root();