fix file search
This commit is contained in:
parent
590062f3c3
commit
f17a1a86a9
@ -1195,8 +1195,8 @@ fn extract_textures(paths:Vec<std::path::PathBuf>,vpk_paths:Vec<std::path::PathB
|
||||
};
|
||||
let find_stuff=|search_file_name:String|{
|
||||
println!("search_file_name={}",search_file_name);
|
||||
match pack.get(search_file_name.as_str()){
|
||||
Ok(file)=>return Ok(file),
|
||||
match pack.get(search_file_name.as_str())?{
|
||||
Some(file)=>return Ok(Some(file)),
|
||||
_=>(),
|
||||
}
|
||||
//search pak list
|
||||
|
Loading…
Reference in New Issue
Block a user