mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-12-18 02:15:19 +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:
parent
ec21a22e30
commit
2df21c8e8d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue