From 08c8b59bd9e5c6ed46e9f49b9a263b2b10637561 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 17 Sep 2024 18:55:58 -0700 Subject: [PATCH] run_scripts is now a member function --- src/file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();