Define a load order method and use it in the dsda and eureka flags.

Also coerce the type of the complevel arg to string; subprocess won't
handle that for us.
This commit is contained in:
yrriban 2025-07-16 02:01:39 -04:00
parent 3cea4a3000
commit 3fc029bf95
2 changed files with 11 additions and 3 deletions

View file

@ -15,7 +15,7 @@ class Eureka(dcc.doom_base.WadMap):
if parsed_args.main is not None:
mw = pwadpath.joinpath(parsed_args.main)
else:
mw = sorted(list(pwadpath.glob('*.wad', case_sensitive=False)))[0]
mw = self.load_order()[0]
complevel = self.complevel()
port = "vanilla"