diff --git a/src/main.rs b/src/main.rs index 324c549..6383200 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1195,8 +1195,8 @@ fn extract_textures(paths:Vec,vpk_paths:Vecreturn Ok(file), + match pack.get(search_file_name.as_str())?{ + Some(file)=>return Ok(Some(file)), _=>(), } //search pak list