Correctly handle non-default IWADS.
This commit is contained in:
parent
3d010a2609
commit
833a0c681c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def DsdaPreamble(wad, mapstr):
|
|||
iwadpath = pwadpath.joinpath("iwad")
|
||||
if iwadpath.exists():
|
||||
with io.open(iwadpath) as f:
|
||||
iwad = f.read().strip() + ".WAD"
|
||||
iwad = IWADS.joinpath(f.read().strip() + ".WAD")
|
||||
args = args + ["-iwad", iwad]
|
||||
|
||||
wads = sorted(pwadpath.glob('*.wad', case_sensitive=False))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue