Add a configure command for initial wad setup. Reshuffle a couple things that depend on it.

This commit is contained in:
yrriban 2025-07-03 18:18:19 -04:00
parent 673e649e87
commit 5881c94c11
4 changed files with 34 additions and 10 deletions

View file

@ -10,7 +10,7 @@ class Eureka(dcc.doom_base.WadMap):
return parser
def take_action(self, parsed_args):
iwad = self.iwad_path(parsed_args.wad)
iwad = self.iwad_path()
pwadpath = self.pwads.joinpath(parsed_args.wad)
if parsed_args.main is not None:
mw = pwadpath.joinpath(parsed_args.main)