run scripts

This commit is contained in:
Quaternions 2024-09-17 17:30:22 -07:00
parent 8d9b1eeb04
commit e68d15f4e3

View File

@ -67,6 +67,8 @@ pub fn load<P:AsRef<std::path::Path>>(path:P)->Result<strafesnet_common::map::Co
DataStructure::StrafesNET(map)=>Ok(map), DataStructure::StrafesNET(map)=>Ok(map),
#[cfg(feature="roblox")] #[cfg(feature="roblox")]
DataStructure::Roblox(dom)=>{ DataStructure::Roblox(dom)=>{
let dom=strafesnet_rbx_loader::run_scripts(dom).unwrap();
let mut loader=strafesnet_deferred_loader::roblox_legacy(); let mut loader=strafesnet_deferred_loader::roblox_legacy();
let (texture_loader,mesh_loader)=loader.get_inner_mut(); let (texture_loader,mesh_loader)=loader.get_inner_mut();