From 2df21c8e8dc4e4b1594e485a8ea3178815def927 Mon Sep 17 00:00:00 2001 From: "Dr. Glaucous" <49349519+DrGlaucous@users.noreply.github.com> Date: Wed, 6 Nov 2024 16:58:48 -0500 Subject: [PATCH] Fix vanilla executable extraction bug The only physicalFS currently loaded uses ./data/ already as its root, so it will check for /data/data/stage.sect, which is wrong --- src/data/vanilla.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/vanilla.rs b/src/data/vanilla.rs index 6f75e56..853738b 100644 --- a/src/data/vanilla.rs +++ b/src/data/vanilla.rs @@ -65,7 +65,7 @@ impl VanillaExtractor { log::info!("Found vanilla game executable, attempting to extract resources."); - if filesystem::exists(ctx, format!("{}/stage.sect", data_base_dir.clone())) { + if filesystem::exists(ctx, "/stage.sect") { log::info!("Vanilla resources are already extracted, not proceeding."); return None; }