Take into account the demo name when using the RIB command.
This commit is contained in:
parent
a982c5b20c
commit
cbf2ec2ca6
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ class RIB(doomcc.doom_base.WadMap):
|
||||||
demodir = demodir / "failed_demos"
|
demodir = demodir / "failed_demos"
|
||||||
|
|
||||||
glob = f"*map{self.map}*"
|
glob = f"*map{self.map}*"
|
||||||
|
if parsed_args.name is not None:
|
||||||
|
glob += f"{parsed_args.name}*"
|
||||||
if parsed_args.attempt is not None:
|
if parsed_args.attempt is not None:
|
||||||
glob += f"{parsed_args.attempt}*"
|
glob += f"{parsed_args.attempt}*"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue