This commit is contained in:
2025-04-03 12:36:53 +02:00
parent d3c5f97469
commit 452150a2fc
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ pub fn main() -> Result<(), String> {
println!("Loading Rhai scripts from scripts directory...");
// Get the scripts directory path
let scripts_dir = Path::new("rhai_engine/examples/loadscripts/scripts");
let scripts_dir = Path::new("examples/loadscripts/scripts");
// Use the ScriptManager to load all scripts from the directory
let loaded_scripts = script_manager.load_scripts_from_directory(scripts_dir)?;