From 833a0c681c4254795cda29ffe302d96f448369f5 Mon Sep 17 00:00:00 2001 From: yrriban Date: Wed, 16 Apr 2025 23:01:12 -0400 Subject: [PATCH] Correctly handle non-default IWADS. --- dcc/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcc/config.py b/dcc/config.py index 9aaae33..de71990 100644 --- a/dcc/config.py +++ b/dcc/config.py @@ -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))