Add a pwad_path property and also convert the iwad_path method to a property.
This commit is contained in:
parent
5881c94c11
commit
b14c12c609
3 changed files with 12 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue