Added PWAD folders back in
This commit is contained in:
@@ -102,6 +102,11 @@ impl RustDoomLauncher {
|
|||||||
for iwad in get_wads_in_folder(&c.iwads_folder) {
|
for iwad in get_wads_in_folder(&c.iwads_folder) {
|
||||||
self.iwad_manager.add(&iwad);
|
self.iwad_manager.add(&iwad);
|
||||||
}
|
}
|
||||||
|
if let Some(pwad_folder) = &c.pwads_folder {
|
||||||
|
for pwad in get_wads_in_folder(pwad_folder) {
|
||||||
|
self.pwad_manager.add(&pwad)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("{:?}", e);
|
println!("{:?}", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user