diff --git a/Cargo.lock b/Cargo.lock index 920bfc4..9910f61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -518,7 +518,7 @@ dependencies = [ [[package]] name = "roblox_emulator_cli" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index db82907..8588b29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roblox_emulator_cli" -version = "0.1.2" +version = "0.1.3" edition = "2021" repository = "https://git.itzana.me/StrafesNET/roblox_emulator_cli" license = "MIT OR Apache-2.0" diff --git a/src/main.rs b/src/main.rs index 02e1ffa..5119c20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,7 +50,7 @@ fn run_script(input_file:PathBuf)->anyhow::Result<()>{ }; let (mut context,script,services)=roblox_emulator::context::Context::script_singleton(source); let runner=roblox_emulator::runner::Runner::new()?; - let runnable=runner.runnable_context(&mut context,&services)?; + let runnable=runner.runnable_context_with_services(&mut context,&services)?; runnable.run_script(script)?; Ok(()) }