From f17a1a86a9e5207a7475d4f44f1f257a171a2594 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 10 Jan 2024 17:18:57 -0800 Subject: [PATCH] fix file search --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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