forked from StrafesNET/map-tool
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|{
|
let find_stuff=|search_file_name:String|{
|
||||||
println!("search_file_name={}",search_file_name);
|
println!("search_file_name={}",search_file_name);
|
||||||
match pack.get(search_file_name.as_str()){
|
match pack.get(search_file_name.as_str())?{
|
||||||
Ok(file)=>return Ok(file),
|
Some(file)=>return Ok(Some(file)),
|
||||||
_=>(),
|
_=>(),
|
||||||
}
|
}
|
||||||
//search pak list
|
//search pak list
|
||||||
|
Loading…
Reference in New Issue
Block a user