Add a pwad_path property and also convert the iwad_path method to a property.

This commit is contained in:
yrriban 2025-07-03 18:21:24 -04:00
parent 5881c94c11
commit b14c12c609
3 changed files with 12 additions and 7 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()
iwad = self.iwad_path
pwadpath = self.pwads.joinpath(parsed_args.wad)
if parsed_args.main is not None:
mw = pwadpath.joinpath(parsed_args.main)