diff --git a/src/file.rs b/src/file.rs index 61b5bf7..ecc7ab1 100644 --- a/src/file.rs +++ b/src/file.rs @@ -67,6 +67,8 @@ pub fn load>(path:P)->ResultOk(map), #[cfg(feature="roblox")] DataStructure::Roblox(dom)=>{ + let dom=strafesnet_rbx_loader::run_scripts(dom).unwrap(); + let mut loader=strafesnet_deferred_loader::roblox_legacy(); let (texture_loader,mesh_loader)=loader.get_inner_mut();