diff --git a/src/file.rs b/src/file.rs index 64163ae..9271b1a 100644 --- a/src/file.rs +++ b/src/file.rs @@ -66,8 +66,8 @@ pub fn load>(path:P)->ResultOk(map), #[cfg(feature="roblox")] - DataStructure::Roblox(dom)=>{ - let dom=strafesnet_rbx_loader::run_scripts(dom); + DataStructure::Roblox(mut dom)=>{ + dom.run_scripts(); let mut loader=strafesnet_deferred_loader::roblox_legacy();