1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-21 05:02:45 +00:00

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
This commit is contained in:
Dr. Glaucous 2024-11-06 16:58:48 -05:00 committed by alula
parent ec21a22e30
commit 2df21c8e8d

View file

@ -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;
}