run_scripts is now a member function

This commit is contained in:
Quaternions 2024-09-17 18:55:58 -07:00
parent 74b7265527
commit 08c8b59bd9

View File

@ -66,8 +66,8 @@ pub fn load<P:AsRef<std::path::Path>>(path:P)->Result<strafesnet_common::map::Co
#[cfg(feature="snf")]
DataStructure::StrafesNET(map)=>Ok(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();