diff --git a/MelonProxy/src/utils/files.rs b/MelonProxy/src/utils/files.rs index bc5e79c3..1fdea916 100644 --- a/MelonProxy/src/utils/files.rs +++ b/MelonProxy/src/utils/files.rs @@ -25,14 +25,6 @@ pub fn get_bootstrap_path(base_path: &PathBuf) -> Result { /// search for Bootstrap in the given path pub fn get_dobby_dir(base_path: PathBuf, game_dir: PathBuf) -> Result { let dobby_names = ["dobby", "libdobby"]; //by convention, on unix, the library is prefixed with "lib" - - for name in dobby_names.iter() { - let dobby_path = game_dir.join(name).with_extension(DLL_EXTENSION); - - if dobby_path.exists() { - return Ok(game_dir); - } - } for name in dobby_names.iter() { let dobby_path = base_path.join(name).with_extension(DLL_EXTENSION); @@ -59,6 +51,14 @@ pub fn get_dobby_dir(base_path: PathBuf, game_dir: PathBuf) -> Result